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: e039f27e-b349-4efd-820c-1b13defa99cd 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_18_21_39_28.3624633638/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=315385 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes Loading: Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (99 packages loaded, 10465 targets configured) Analyzing: target //:gazelle (99 packages loaded, 10465 targets configured) Analyzing: target //:gazelle (257 packages loaded, 11586 targets configured) INFO: Analyzed target //:gazelle (268 packages loaded, 11967 targets configured). INFO: Found 1 target... [0 / 250] [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/linux_amd64/net/http.a, 5.0 MiB / 7.3 MiB; 2s remote-cache ... (2 actions, 0 running) [164 / 317] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; Downloading external/co_honnef_go_tools/go/ir/ir.a, 2.0 MiB / 5.7 MiB; 0s remote-cache ... (24 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 23.854s, Critical Path: 4.17s 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: 02a0efee-3ed5-4f89-a207-f2bf751b62a9 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_18_21_39_28.3624633638/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 (138 packages loaded, 13025 targets configured) INFO: Analyzed target //tools/tazel:tazel (320 packages loaded, 14303 targets configured). INFO: Found 1 target... [0 / 10] [Prepa] BazelWorkspaceStatusAction stable-status.txt [274 / 608] [Prepa] GoCompilePkg external/com_github_cockroachdb_errors/stdstrings/stdstrings.a ... (7 actions, 0 running) [575 / 608] GoCompilePkg external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.a; 0s remote-cache ... (4 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 4.566s, Critical Path: 2.64s 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: 27a34979-c1bc-4116-b48e-1b9b809c53e6 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_18_21_39_28.3624633638/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 (1292 packages loaded, 15872 targets configured) Analyzing: 415 targets (1559 packages loaded, 22165 targets configured) Analyzing: 415 targets (1706 packages loaded, 23961 targets configured) Analyzing: 415 targets (1928 packages loaded, 25595 targets configured) Analyzing: 415 targets (1928 packages loaded, 25595 targets configured) Analyzing: 415 targets (1992 packages loaded, 26913 targets configured) INFO: Analyzed 415 targets (1992 packages loaded, 27055 targets configured). INFO: Found 415 test targets... [0 / 0] checking cached actions [1,684 / 10,140] [Prepa] GoStdlib external/io_bazel_rules_go/stdlib_/pkg ... (11 actions, 4 running) [1,689 / 10,140] GoTestGenTest pkg/planner/util/util_test_/testmain.go; 1s remote-cache, linux-sandbox ... (11 actions, 4 running) [1,694 / 10,140] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.0 MiB / 17.2 MiB; 3s remote-cache ... (5 actions, 0 running) [1,730 / 10,140] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 10.0 MiB / 17.2 MiB; 4s remote-cache ... (35 actions, 0 running) [2,209 / 10,140] GoCompilePkg external/com_github_influxdata_tdigest/tdigest.a; Downloading external/com_github_influxdata_tdigest/tdigest.facts; 0s remote-cache ... (35 actions, 0 running) [2,729 / 10,140] GoCompilePkg external/io_k8s_klog_v2/klog.a; Downloading external/io_k8s_klog_v2/klog.a, 1.0 MiB / 1.1 MiB; 0s remote-cache ... (34 actions, 0 running) [3,165 / 10,140] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 19.3 MiB / 75.3 MiB; 0s remote-cache ... (33 actions, 0 running) [3,494 / 10,149] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 69.0 MiB / 75.3 MiB; 1s remote-cache ... (34 actions, 0 running) [3,879 / 10,167] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 61.9 MiB / 96.2 MiB; 0s remote-cache ... (34 actions, 0 running) [4,263 / 10,180] GoCompilePkg external/com_github_azure_azure_sdk_for_go_sdk_storage_azblob/internal/generated/generated.a; 0s remote-cache ... (34 actions, 0 running) [4,518 / 10,197] 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, 18.0 MiB / 69.8 MiB; 0s remote-cache ... (35 actions, 0 running) [4,713 / 10,294] 31 / 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, 43.0 MiB / 69.8 MiB; 1s remote-cache ... (35 actions, 0 running) [4,928 / 10,342] 49 / 415 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 2s remote-cache ... (35 actions, 0 running) [5,138 / 10,423] 63 / 415 tests; GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; Downloading external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a, 9.0 MiB / 10.5 MiB; 0s remote-cache ... (34 actions, 0 running) [5,351 / 10,490] 75 / 415 tests; GoLink pkg/util/extsort/extsort_test_/extsort_test; 0s remote-cache ... (11 actions, 0 running) [5,421 / 10,498] 80 / 415 tests; GoLink pkg/util/resourcegrouptag/resourcegrouptag_test_/resourcegrouptag_test; 0s remote-cache ... (11 actions, 0 running) [5,566 / 10,515] 82 / 415 tests; GoLink pkg/util/chunk/chunk_test_/chunk_test; Downloading pkg/util/chunk/chunk_test_/chunk_test, 26.0 MiB / 40.5 MiB; 1s remote-cache ... (35 actions, 0 running) [5,621 / 10,523] 84 / 415 tests; GoLink pkg/util/chunk/chunk_test_/chunk_test; Downloading pkg/util/chunk/chunk_test_/chunk_test, 39.0 MiB / 40.5 MiB; 2s remote-cache ... (35 actions, 0 running) [5,657 / 10,574] 87 / 415 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; Downloading br/pkg/rtree/rtree_test_/rtree_test, 30.0 MiB / 43.3 MiB; 2s remote-cache ... (35 actions, 0 running) [5,687 / 10,587] 87 / 415 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; Downloading br/pkg/rtree/rtree_test_/rtree_test, 38.0 MiB / 43.3 MiB; 3s remote-cache ... (35 actions, 0 running) [5,723 / 10,627] 91 / 415 tests; GoLink br/pkg/utils/iter/iter_test_/iter_test; Downloading br/pkg/utils/iter/iter_test_/iter_test, 36.0 MiB / 41.6 MiB; 4s remote-cache ... (35 actions, 0 running) [5,754 / 10,647] 93 / 415 tests; GoLink pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test; Downloading pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test, 31.0 MiB / 41.6 MiB; 4s remote-cache ... (34 actions, 0 running) [5,781 / 10,700] 95 / 415 tests; GoLink pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test; Downloading pkg/resourcemanager/pool/workerpool/workerpool_test_/workerpool_test, 39.0 MiB / 41.6 MiB; 5s remote-cache ... (35 actions, 0 running) [5,813 / 10,732] 98 / 415 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 44.0 MiB / 55.9 MiB; 5s remote-cache ... (35 actions, 0 running) [5,847 / 10,736] 99 / 415 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 52.0 MiB / 55.9 MiB; 6s remote-cache ... (35 actions, 0 running) [5,886 / 10,746] 103 / 415 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 61.0 MiB / 80.2 MiB; 7s remote-cache ... (35 actions, 0 running) [5,923 / 10,752] 105 / 415 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 69.0 MiB / 80.2 MiB; 8s remote-cache ... (35 actions, 0 running) [5,956 / 10,778] 109 / 415 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 77.0 MiB / 80.2 MiB; 9s remote-cache ... (34 actions, 0 running) [6,006 / 10,780] 114 / 415 tests; GoCompilePkg pkg/ddl/placement/expression.recompile558.a; Downloading pkg/ddl/placement/expression.recompile558.a, 78.0 MiB / 80.2 MiB; 9s remote-cache ... (35 actions, 0 running) [6,042 / 10,789] 115 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 33.9 MiB / 151.3 MiB; 4s remote-cache ... (35 actions, 0 running) [6,074 / 10,789] 115 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 41.9 MiB / 151.3 MiB; 5s remote-cache ... (35 actions, 0 running) [6,110 / 10,800] 116 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 48.9 MiB / 151.3 MiB; 6s remote-cache ... (35 actions, 0 running) [6,139 / 10,826] 117 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 55.9 MiB / 151.3 MiB; 7s remote-cache ... (35 actions, 0 running) [6,173 / 10,826] 121 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 63.9 MiB / 151.3 MiB; 8s remote-cache ... (35 actions, 0 running) [6,202 / 10,826] 122 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 71.9 MiB / 151.3 MiB; 9s remote-cache ... (35 actions, 2 running) [6,248 / 10,838] 124 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 81.9 MiB / 151.3 MiB; 10s remote-cache ... (36 actions, 4 running) [6,291 / 10,868] 126 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 92.9 MiB / 151.3 MiB; 11s remote-cache ... (40 actions, 10 running) [6,326 / 10,879] 126 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 101.9 MiB / 151.3 MiB; 12s remote-cache ... (40 actions, 10 running) [6,360 / 10,891] 127 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 109.9 MiB / 151.3 MiB; 13s remote-cache ... (40 actions, 10 running) [6,385 / 10,891] 129 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 117.9 MiB / 151.3 MiB; 14s remote-cache ... (42 actions, 14 running) [6,430 / 10,903] 130 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 126.9 MiB / 151.3 MiB; 15s remote-cache ... (41 actions, 12 running) [6,492 / 10,933] 131 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 138.9 MiB / 151.3 MiB; 16s remote-cache ... (39 actions, 8 running) [6,529 / 10,933] 134 / 415 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 148.9 MiB / 151.3 MiB; 17s remote-cache ... (38 actions, 6 running) [6,569 / 11,001] 134 / 415 tests; GoCompilePkg pkg/metrics/expression.recompile582.a; Downloading pkg/metrics/expression.recompile582.a, 71.0 MiB / 78.6 MiB; 8s remote-cache ... (38 actions, 6 running) [6,600 / 11,001] 136 / 415 tests; GoCompilePkg pkg/metrics/expression.recompile582.a; Downloading pkg/metrics/expression.recompile582.a, 77.0 MiB / 78.6 MiB; 9s remote-cache ... (37 actions, 4 running) [6,639 / 11,070] 136 / 415 tests; GoLink pkg/util/generatedexpr/generatedexpr_test_/generatedexpr_test; Downloading pkg/util/generatedexpr/generatedexpr_test_/generatedexpr_test, 32.0 MiB / 38.6 MiB; 4s remote-cache ... (38 actions, 6 running) [6,688 / 11,080] 137 / 415 tests; GoCompilePkg pkg/structure/expression.recompile1102.a; Downloading pkg/structure/expression.recompile1102.a, 39.0 MiB / 78.6 MiB; 5s remote-cache ... (38 actions, 6 running) [6,716 / 11,080] 139 / 415 tests; GoCompilePkg pkg/structure/expression.recompile1102.a; Downloading pkg/structure/expression.recompile1102.a, 47.0 MiB / 78.6 MiB; 6s remote-cache ... (37 actions, 4 running) [6,753 / 11,086] 142 / 415 tests; GoCompilePkg pkg/structure/expression.recompile1102.a; Downloading pkg/structure/expression.recompile1102.a, 57.0 MiB / 78.6 MiB; 7s remote-cache ... (39 actions, 8 running) [6,787 / 11,088] 142 / 415 tests; GoCompilePkg pkg/structure/expression.recompile1102.a; Downloading pkg/structure/expression.recompile1102.a, 65.0 MiB / 78.6 MiB; 8s remote-cache ... (38 actions, 6 running) [6,818 / 11,090] 145 / 415 tests; GoCompilePkg pkg/structure/expression.recompile1102.a; Downloading pkg/structure/expression.recompile1102.a, 73.6 MiB / 78.6 MiB; 9s remote-cache ... (39 actions, 8 running) [6,841 / 11,090] 145 / 415 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1104.a; Downloading pkg/sessionctx/variable/expression.recompile1104.a, 50.0 MiB / 78.6 MiB; 6s remote-cache ... (40 actions, 10 running) [6,883 / 11,096] 146 / 415 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1104.a; Downloading pkg/sessionctx/variable/expression.recompile1104.a, 58.0 MiB / 78.6 MiB; 7s remote-cache ... (40 actions, 10 running) [6,915 / 11,105] 147 / 415 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1104.a; Downloading pkg/sessionctx/variable/expression.recompile1104.a, 66.0 MiB / 78.6 MiB; 8s remote-cache ... (40 actions, 10 running) [6,948 / 11,105] 148 / 415 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1104.a; Downloading pkg/sessionctx/variable/expression.recompile1104.a, 72.0 MiB / 78.6 MiB; 9s remote-cache ... (41 actions, 12 running) [6,993 / 11,131] 150 / 415 tests; GoCompilePkg pkg/meta/expression.recompile561.a; Downloading pkg/meta/expression.recompile561.a, 76.0 MiB / 78.6 MiB; 9s remote-cache ... (40 actions, 10 running) [7,031 / 11,133] 150 / 415 tests; GoCompilePkg pkg/sessionctx/sessionstates/expression.recompile1163.a; Downloading pkg/sessionctx/sessionstates/expression.recompile1163.a, 67.0 MiB / 78.6 MiB; 8s remote-cache ... (44 actions, 18 running) [7,059 / 11,135] 151 / 415 tests; GoCompilePkg pkg/sessionctx/sessionstates/expression.recompile1163.a; Downloading pkg/sessionctx/sessionstates/expression.recompile1163.a, 76.0 MiB / 78.6 MiB; 9s remote-cache ... (44 actions, 20 running) [7,105 / 11,135] 154 / 415 tests; GoCompilePkg pkg/extension/expression.recompile1168.a; Downloading pkg/extension/expression.recompile1168.a, 66.0 MiB / 78.6 MiB; 7s remote-cache ... (49 actions, 28 running) [7,150 / 11,137] 154 / 415 tests; GoCompilePkg pkg/extension/expression.recompile1168.a; 9s remote-cache ... (48 actions, 26 running) [7,195 / 11,137] 155 / 415 tests; Testing //pkg/ddl/placement:placement_test (shard 2 of 25); 4s remote-cache, linux-sandbox ... (51 actions, 34 running) [7,227 / 11,137] 156 / 415 tests; GoLink br/pkg/utils/utils_test_/utils_test; 4s remote-cache ... (54 actions, 39 running) [7,271 / 11,170] 156 / 415 tests; Testing //pkg/ddl/placement:placement_test (shard 5 of 25); 4s remote-cache, linux-sandbox ... (56 actions, 42 running) [7,304 / 11,182] 157 / 415 tests; Testing //pkg/ddl/placement:placement_test (shard 6 of 25); 3s remote-cache, linux-sandbox ... (58 actions, 46 running) [7,348 / 11,193] 157 / 415 tests; Testing //pkg/distsql:distsql_test (shard 24 of 27); 4s remote-cache, linux-sandbox ... (51 actions, 32 running) [7,384 / 11,193] 157 / 415 tests; Testing //pkg/ddl/placement:placement_test (shard 8 of 25); 4s remote-cache, linux-sandbox ... (59 actions, 49 running) [7,417 / 11,193] 160 / 415 tests; Testing //pkg/distsql:distsql_test (shard 6 of 27); 4s remote-cache, linux-sandbox ... (49 actions, 28 running) [7,431 / 11,199] 161 / 415 tests; Testing //pkg/distsql:distsql_test (shard 6 of 27); 5s remote-cache, linux-sandbox ... (62 actions, 54 running) [7,457 / 11,205] 165 / 415 tests; Testing //pkg/distsql:distsql_test (shard 6 of 27); 6s remote-cache, linux-sandbox ... (64 actions, 58 running) [7,504 / 11,209] 166 / 415 tests; Testing //pkg/ddl/placement:placement_test (shard 14 of 25); 4s remote-cache, linux-sandbox ... (66 actions, 62 running) [7,547 / 11,265] 167 / 415 tests; Testing //pkg/distsql:distsql_test (shard 9 of 27); 3s remote-cache, linux-sandbox ... (68 actions, 67 running) [7,558 / 11,273] 168 / 415 tests; Testing //pkg/distsql:distsql_test (shard 9 of 27); 5s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,604 / 11,273] 169 / 415 tests; Testing //pkg/distsql:distsql_test (shard 11 of 27); 4s remote-cache, linux-sandbox ... (68 actions, 66 running) [7,634 / 11,277] 169 / 415 tests; Testing //pkg/ddl/placement:placement_test (shard 17 of 25); 5s remote-cache, linux-sandbox ... (68 actions, 66 running) [7,654 / 11,277] 171 / 415 tests; Testing //pkg/ddl/placement:placement_test (shard 21 of 25); 5s remote-cache, linux-sandbox ... (70 actions running) [7,685 / 11,277] 172 / 415 tests; Testing //pkg/distsql:distsql_test (shard 14 of 27); 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,688 / 11,277] 172 / 415 tests; Testing //pkg/distsql:distsql_test (shard 14 of 27); 5s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,733 / 11,290] 172 / 415 tests; Testing //pkg/distsql:distsql_test (shard 16 of 27); 4s remote-cache, linux-sandbox ... (65 actions, 64 running) [7,736 / 11,290] 172 / 415 tests; Testing //pkg/distsql:distsql_test (shard 16 of 27); 5s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,759 / 11,290] 172 / 415 tests; GoLink pkg/lightning/checkpoints/checkpoints_test_/checkpoints_test; 6s remote-cache, linux-sandbox ... (70 actions running) [7,801 / 11,314] 172 / 415 tests; Testing //pkg/distsql:distsql_test (shard 20 of 27); 4s remote-cache, linux-sandbox ... (70 actions running) [7,823 / 11,319] 173 / 415 tests; Testing //pkg/util:util_test (shard 16 of 50); 5s remote-cache, linux-sandbox ... (70 actions running) [7,836 / 11,319] 173 / 415 tests; Testing //pkg/util:util_test (shard 16 of 50); 6s remote-cache, linux-sandbox ... (70 actions running) [7,851 / 11,319] 173 / 415 tests; Testing //pkg/util:util_test (shard 16 of 50); 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,891 / 11,339] 173 / 415 tests; Testing //pkg/util:util_test (shard 16 of 50); 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,922 / 11,339] 174 / 415 tests; Testing //pkg/util:util_test (shard 16 of 50); 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,952 / 11,368] 175 / 415 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; 5s remote-cache, linux-sandbox ... (69 actions running) [7,984 / 11,374] 175 / 415 tests; Testing //pkg/lightning/checkpoints:checkpoints_test (shard 2 of 23); 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,992 / 11,374] 175 / 415 tests; Testing //pkg/lightning/checkpoints:checkpoints_test (shard 2 of 23); 5s remote-cache, linux-sandbox ... (70 actions running) [7,996 / 11,374] 175 / 415 tests; Testing //pkg/lightning/checkpoints:checkpoints_test (shard 2 of 23); 6s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,040 / 11,374] 175 / 415 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 4); 5s remote-cache, linux-sandbox ... (60 actions, 50 running) [8,070 / 11,374] 178 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1114.a; 6s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,096 / 11,374] 178 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1114.a; 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,097 / 11,374] 178 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1114.a; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,132 / 11,374] 178 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1114.a; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,144 / 11,374] 178 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1114.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,176 / 11,380] 178 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/ddl.recompile1230.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,183 / 11,380] 178 / 415 tests; GoCompilePkg pkg/lightning/backend/local/ddl.recompile1256.a; 12s remote-cache, linux-sandbox ... (70 actions running) [8,227 / 11,380] 178 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1229.a; 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,251 / 11,380] 178 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1229.a; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,270 / 11,380] 178 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1229.a; 10s remote-cache, linux-sandbox ... (69 actions running) [8,275 / 11,380] 178 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1229.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,300 / 11,391] 178 / 415 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1229.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,329 / 11,391] 179 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1231.a; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,331 / 11,391] 179 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1231.a; 9s remote-cache, linux-sandbox ... (69 actions running) [8,363 / 11,391] 180 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1231.a; 10s remote-cache, linux-sandbox ... (67 actions, 66 running) [8,384 / 11,391] 180 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1231.a; 12s remote-cache, linux-sandbox ... (70 actions running) [8,403 / 11,391] 181 / 415 tests; GoCompilePkg pkg/expression/ddl.recompile1231.a; 13s remote-cache, linux-sandbox ... (65 actions, 62 running) [8,429 / 11,398] 181 / 415 tests; Testing //pkg/lightning/checkpoints:checkpoints_test (shard 12 of 23); 5s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,446 / 11,398] 181 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/domain.recompile1230.a; 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,461 / 11,398] 181 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 5s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,483 / 11,398] 182 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 6s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,515 / 11,405] 183 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,534 / 11,405] 184 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 8s remote-cache, linux-sandbox ... (70 actions running) [8,541 / 11,416] 184 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 9s remote-cache, linux-sandbox ... (70 actions running) [8,558 / 11,416] 185 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 10s remote-cache, linux-sandbox ... (64 actions, 60 running) [8,568 / 11,416] 185 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,581 / 11,418] 185 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,602 / 11,420] 185 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 14s remote-cache, linux-sandbox ... (69 actions running) [8,621 / 11,420] 187 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 15s remote-cache, linux-sandbox ... (70 actions running) [8,635 / 11,420] 187 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 16s remote-cache, linux-sandbox ... (70 actions running) [8,641 / 11,420] 187 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,659 / 11,420] 188 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,671 / 11,420] 188 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,680 / 11,420] 188 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 21s remote-cache, linux-sandbox ... (70 actions running) [8,703 / 11,420] 188 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,716 / 11,420] 188 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 23s remote-cache, linux-sandbox ... (70 actions running) [8,731 / 11,420] 189 / 415 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1119.a; 24s remote-cache, linux-sandbox ... (70 actions running) [8,741 / 11,420] 189 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1283.a; 20s remote-cache, linux-sandbox ... (70 actions running) [8,747 / 11,420] 189 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1283.a; 21s remote-cache, linux-sandbox ... (70 actions running) [8,749 / 11,420] 189 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1283.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,784 / 11,420] 189 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1283.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,801 / 11,420] 189 / 415 tests; GoCompilePkg pkg/lightning/backend/local/core.recompile1283.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,822 / 11,420] 189 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1255.a; 23s remote-cache, linux-sandbox ... (68 actions, 67 running) [8,845 / 11,420] 189 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1255.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,854 / 11,420] 189 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1255.a; 25s remote-cache, linux-sandbox ... (70 actions running) [8,862 / 11,420] 189 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1255.a; 26s remote-cache, linux-sandbox ... (68 actions, 66 running) [8,874 / 11,420] 189 / 415 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1255.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,894 / 11,420] 189 / 415 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1256.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,896 / 11,440] 189 / 415 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1256.a; 26s remote-cache, linux-sandbox ... (70 actions running) [8,901 / 11,440] 189 / 415 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1256.a; 27s remote-cache, linux-sandbox ... (70 actions running) [8,926 / 11,440] 189 / 415 tests; GoCompilePkg pkg/expression/core.recompile1256.a; 20s remote-cache, linux-sandbox ... (70 actions running) [8,940 / 11,440] 189 / 415 tests; GoCompilePkg pkg/expression/core.recompile1256.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,944 / 11,440] 189 / 415 tests; GoCompilePkg pkg/expression/core.recompile1256.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,961 / 11,440] 189 / 415 tests; GoCompilePkg pkg/expression/core.recompile1256.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,969 / 11,440] 189 / 415 tests; GoCompilePkg pkg/expression/core.recompile1256.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,977 / 11,440] 189 / 415 tests; GoCompilePkg pkg/expression/core.recompile1256.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,001 / 11,440] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,004 / 11,440] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 17s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,024 / 11,440] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 18s remote-cache, linux-sandbox ... (70 actions running) [9,024 / 11,440] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 20s remote-cache, linux-sandbox ... (70 actions running) [9,024 / 11,440] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 21s remote-cache, linux-sandbox ... (70 actions running) [9,051 / 11,440] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 22s remote-cache, linux-sandbox ... (70 actions running) [9,060 / 11,442] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 23s remote-cache, linux-sandbox ... (70 actions running) [9,078 / 11,442] 189 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,113 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/core/core.a; 26s remote-cache, linux-sandbox ... (70 actions running) [9,127 / 11,442] 190 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1253.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,143 / 11,442] 190 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1253.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,164 / 11,442] 190 / 415 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1253.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,174 / 11,442] 190 / 415 tests; GoCompilePkg pkg/store/mockstore/mockcopr/ddl.recompile1225.a; 7s remote-cache, linux-sandbox ... (70 actions running) [9,198 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/funcdep/core.recompile1253.a; 7s remote-cache, linux-sandbox ... (70 actions running) [9,198 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/funcdep/core.recompile1253.a; 8s remote-cache, linux-sandbox ... (70 actions running) [9,222 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/funcdep/core.recompile1253.a; 9s remote-cache, linux-sandbox ... (70 actions running) [9,233 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/funcdep/core.recompile1253.a; 10s remote-cache, linux-sandbox ... (70 actions running) [9,239 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/funcdep/core.recompile1253.a; 12s remote-cache, linux-sandbox ... (70 actions running) [9,256 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/funcdep/core.recompile1253.a; 13s remote-cache, linux-sandbox ... (70 actions running) [9,257 / 11,442] 190 / 415 tests; GoCompilePkg pkg/planner/funcdep/core.recompile1253.a; 14s remote-cache, linux-sandbox ... (70 actions running) [9,284 / 11,446] 190 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,297 / 11,459] 190 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 14s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,314 / 11,464] 190 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,323 / 11,464] 191 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,335 / 11,464] 191 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 18s remote-cache, linux-sandbox ... (70 actions running) [9,336 / 11,464] 191 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 19s remote-cache, linux-sandbox ... (69 actions running) [9,361 / 11,466] 191 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,374 / 11,483] 191 / 415 tests; GoCompilePkg pkg/lightning/backend/local/executor.recompile1296.a; 22s remote-cache, linux-sandbox ... (69 actions running) [9,388 / 11,483] 192 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1281.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,397 / 11,483] 192 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1281.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,403 / 11,483] 192 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1281.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,410 / 11,483] 192 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1281.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,417 / 11,483] 192 / 415 tests; GoCompilePkg pkg/bindinfo/core.recompile1281.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,438 / 11,483] 192 / 415 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1268.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,455 / 11,483] 192 / 415 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1268.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,460 / 11,483] 192 / 415 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1268.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,467 / 11,483] 192 / 415 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1268.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,484 / 11,483] 193 / 415 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1268.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,508 / 11,491] 193 / 415 tests; GoCompilePkg pkg/expression/executor.recompile1270.a; 17s remote-cache, linux-sandbox ... (69 actions running) [9,525 / 11,505] 194 / 415 tests; GoCompilePkg pkg/expression/executor.recompile1270.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,532 / 11,505] 195 / 415 tests; GoCompilePkg pkg/expression/executor.recompile1270.a; 19s remote-cache, linux-sandbox ... (70 actions running) [9,550 / 11,505] 195 / 415 tests; GoCompilePkg pkg/expression/executor.recompile1270.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,560 / 11,505] 195 / 415 tests; GoCompilePkg pkg/expression/executor.recompile1270.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,570 / 11,507] 196 / 415 tests; GoCompilePkg pkg/expression/executor.recompile1270.a; 22s remote-cache, linux-sandbox ... (68 actions, 67 running) [9,571 / 11,507] 196 / 415 tests; GoCompilePkg pkg/expression/executor.recompile1270.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,606 / 11,545] 197 / 415 tests; GoCompilePkg pkg/executor/importer/executor.recompile1421.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,627 / 11,545] 198 / 415 tests; GoCompilePkg pkg/executor/importer/executor.recompile1421.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,636 / 11,545] 198 / 415 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1267.a; 22s remote-cache, linux-sandbox ... (69 actions running) [9,658 / 11,545] 198 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 13s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,675 / 11,596] 198 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 14s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,682 / 11,645] 198 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 16s remote-cache, linux-sandbox ... (70 actions running) [9,698 / 11,649] 199 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 17s remote-cache, linux-sandbox ... (70 actions running) [9,719 / 11,649] 199 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,735 / 11,649] 199 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,749 / 11,649] 199 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,759 / 11,649] 200 / 415 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1267.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,780 / 11,649] 200 / 415 tests; GoCompilePkg pkg/executor/executor.a; 21s remote-cache, linux-sandbox ... (70 actions running) [9,794 / 11,649] 200 / 415 tests; GoLink pkg/sessionctx/binloginfo/binloginfo_test_/binloginfo_test; 11s remote-cache, linux-sandbox ... (68 actions, 67 running) [9,808 / 11,661] 200 / 415 tests; GoLink pkg/extension/extension_test_/extension_test; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,828 / 11,677] 200 / 415 tests; GoLink pkg/disttask/framework/storage/storage_test_/storage_test; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,832 / 11,677] 200 / 415 tests; GoLink pkg/disttask/framework/storage/storage_test_/storage_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,846 / 11,677] 200 / 415 tests; GoLink pkg/disttask/framework/storage/storage_test_/storage_test; 12s remote-cache, linux-sandbox ... (70 actions running) [9,847 / 11,677] 200 / 415 tests; GoLink pkg/disttask/framework/storage/storage_test_/storage_test; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,879 / 11,718] 200 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1296.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,887 / 11,718] 200 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1296.a; 13s remote-cache, linux-sandbox ... (70 actions running) [9,898 / 11,718] 200 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1296.a; 14s remote-cache, linux-sandbox ... (70 actions running) [9,906 / 11,729] 200 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1296.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,915 / 11,729] 200 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1296.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,936 / 11,729] 201 / 415 tests; GoCompilePkg pkg/bindinfo/executor.recompile1296.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,957 / 11,813] 201 / 415 tests; GoLink pkg/expression/expression_test_/expression_test; 12s remote-cache, linux-sandbox ... (69 actions running) [9,970 / 11,864] 201 / 415 tests; GoLink pkg/executor/aggfuncs/aggfuncs_test_/aggfuncs_test; 9s remote-cache, linux-sandbox ... (70 actions running) [9,977 / 11,864] 201 / 415 tests; GoLink pkg/executor/aggfuncs/aggfuncs_test_/aggfuncs_test; 10s remote-cache, linux-sandbox ... (70 actions running) [9,986 / 11,864] 201 / 415 tests; GoLink pkg/executor/aggfuncs/aggfuncs_test_/aggfuncs_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,011 / 11,926] 201 / 415 tests; GoLink pkg/executor/aggfuncs/aggfuncs_test_/aggfuncs_test; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,022 / 11,995] 201 / 415 tests; Testing //pkg/table/tables:tables_test (shard 32 of 32); 6s remote-cache, linux-sandbox ... (69 actions running) [10,029 / 11,995] 201 / 415 tests; Testing //pkg/table/tables:tables_test (shard 32 of 32); 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,045 / 11,995] 201 / 415 tests; Testing //pkg/lightning/backend/local:local_test (shard 50 of 50); 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,049 / 11,995] 201 / 415 tests; Testing //pkg/lightning/backend/local:local_test (shard 50 of 50); 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,062 / 11,995] 201 / 415 tests; Testing //pkg/lightning/backend/local:local_test (shard 50 of 50); 10s remote-cache, linux-sandbox ... (69 actions running) [10,064 / 11,995] 201 / 415 tests; Testing //pkg/lightning/backend/local:local_test (shard 50 of 50); 11s remote-cache, linux-sandbox ... (70 actions running) [10,080 / 11,995] 201 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 11s remote-cache, linux-sandbox ... (70 actions running) [10,095 / 11,995] 203 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 12s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,101 / 11,995] 203 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 14s remote-cache, linux-sandbox ... (70 actions running) [10,113 / 12,048] 203 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,115 / 12,048] 203 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,141 / 12,104] 204 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 18s remote-cache, linux-sandbox ... (70 actions running) [10,151 / 12,150] 204 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 19s remote-cache, linux-sandbox ... (70 actions running) [10,173 / 12,159] 205 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,192 / 12,159] 205 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 21s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,202 / 12,159] 205 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 23s remote-cache, linux-sandbox ... (70 actions running) [10,202 / 12,159] 205 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 24s remote-cache, linux-sandbox ... (70 actions running) [10,231 / 12,164] 206 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,237 / 12,164] 207 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,254 / 12,164] 208 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 27s remote-cache, linux-sandbox ... (69 actions running) [10,270 / 12,164] 208 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,274 / 12,164] 208 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 29s remote-cache, linux-sandbox ... (69 actions running) [10,292 / 12,164] 208 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 30s remote-cache, linux-sandbox ... (69 actions running) [10,304 / 12,166] 209 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,322 / 12,217] 209 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,333 / 12,217] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 17s remote-cache, linux-sandbox ... (70 actions running) [10,348 / 12,217] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 18s remote-cache, linux-sandbox ... (70 actions running) [10,360 / 12,239] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,373 / 12,255] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,388 / 12,255] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,396 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,399 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,416 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,425 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 25s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,427 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 26s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,448 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,462 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,468 / 12,281] 210 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,486 / 12,281] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,494 / 12,281] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 32s remote-cache, linux-sandbox ... (70 actions running) [10,504 / 12,281] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 33s remote-cache, linux-sandbox ... (70 actions running) [10,505 / 12,281] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 1 of 17); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,531 / 12,281] 211 / 415 tests; Testing //pkg/executor/importer:importer_test (shard 28 of 28); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,545 / 12,332] 211 / 415 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,556 / 12,332] 211 / 415 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 35s remote-cache, linux-sandbox ... (70 actions running) [10,566 / 12,332] 211 / 415 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 36s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,572 / 12,332] 211 / 415 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 37s remote-cache, linux-sandbox ... (70 actions running) [10,582 / 12,332] 211 / 415 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 38s remote-cache, linux-sandbox ... (70 actions running) [10,586 / 12,332] 211 / 415 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 39s remote-cache, linux-sandbox ... (70 actions running) [10,597 / 12,332] 211 / 415 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 40s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,603 / 12,332] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 41s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,611 / 12,332] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 42s remote-cache, linux-sandbox ... (69 actions running) [10,620 / 12,332] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,626 / 12,332] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 44s remote-cache, linux-sandbox ... (69 actions running) [10,627 / 12,332] 211 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,643 / 12,332] 211 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 20 of 22); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,655 / 12,332] 212 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 25 of 25); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,664 / 12,339] 212 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 25 of 25); 29s remote-cache, linux-sandbox ... (70 actions running) [10,671 / 12,339] 212 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 25 of 25); 30s remote-cache, linux-sandbox ... (70 actions running) [10,676 / 12,339] 212 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 25 of 25); 31s remote-cache, linux-sandbox ... (70 actions running) [10,689 / 12,339] 212 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 25 of 25); 32s remote-cache, linux-sandbox ... (70 actions running) [10,701 / 12,357] 212 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 25s remote-cache, linux-sandbox ... (70 actions running) [10,707 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 26s remote-cache, linux-sandbox ... (70 actions running) [10,713 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 27s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,716 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,719 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,729 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,735 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 33s remote-cache, linux-sandbox ... (70 actions running) [10,751 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,756 / 12,357] 213 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,765 / 12,357] 214 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 2 of 17); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,778 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,786 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 36s remote-cache, linux-sandbox ... (70 actions running) [10,800 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,807 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 39s remote-cache, linux-sandbox ... (69 actions running) [10,820 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,830 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,834 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,844 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [10,849 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [10,855 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [10,861 / 12,357] 214 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,871 / 12,357] 215 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [10,880 / 12,357] 215 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [10,884 / 12,357] 215 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [10,889 / 12,357] 215 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,897 / 12,357] 215 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,902 / 12,359] 215 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,912 / 12,359] 216 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 14 of 17); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,920 / 12,386] 216 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 14 of 17); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,921 / 12,386] 216 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 14 of 17); 40s remote-cache, linux-sandbox ... (70 actions running) [10,921 / 12,386] 216 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 14 of 17); 41s remote-cache, linux-sandbox ... (70 actions running) [10,941 / 12,386] 218 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 24 of 25); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,952 / 12,386] 218 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 1 of 50); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,959 / 12,386] 218 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 1 of 50); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,964 / 12,386] 218 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 1 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,975 / 12,386] 219 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,983 / 12,396] 219 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,992 / 12,396] 219 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 33s remote-cache, linux-sandbox ... (70 actions running) [11,002 / 12,396] 219 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 34s remote-cache, linux-sandbox ... (70 actions running) [11,008 / 12,396] 219 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,010 / 12,396] 219 / 415 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 37s remote-cache, linux-sandbox ... (70 actions running) [11,023 / 12,396] 219 / 415 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 32s remote-cache, linux-sandbox ... (70 actions running) [11,030 / 12,396] 219 / 415 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 33s remote-cache, linux-sandbox ... (70 actions running) [11,036 / 12,396] 219 / 415 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 34s remote-cache, linux-sandbox ... (70 actions running) [11,045 / 12,396] 219 / 415 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 35s remote-cache, linux-sandbox ... (70 actions running) [11,051 / 12,396] 219 / 415 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,061 / 12,396] 219 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,067 / 12,396] 219 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 38s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,073 / 12,396] 219 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,077 / 12,396] 219 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 40s remote-cache, linux-sandbox ... (70 actions running) [11,078 / 12,396] 219 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,084 / 12,396] 219 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,090 / 12,398] 220 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 44s remote-cache, linux-sandbox ... (70 actions running) [11,092 / 12,398] 220 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 45s remote-cache, linux-sandbox ... (70 actions running) [11,098 / 12,416] 220 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,104 / 12,416] 220 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,108 / 12,416] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,114 / 12,416] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,117 / 12,416] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 51s remote-cache, linux-sandbox ... (70 actions running) [11,129 / 12,446] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,135 / 12,446] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,142 / 12,446] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,146 / 12,446] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,158 / 12,446] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,165 / 12,446] 221 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 58s remote-cache, linux-sandbox ... (70 actions running) [11,176 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,186 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 60s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,189 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,196 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 63s remote-cache, linux-sandbox ... (70 actions running) [11,203 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 64s remote-cache, linux-sandbox ... (70 actions running) [11,208 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 65s remote-cache, linux-sandbox ... (70 actions running) [11,217 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,221 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 68s remote-cache, linux-sandbox ... (70 actions running) [11,231 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,234 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,237 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,245 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,256 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,269 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 75s remote-cache, linux-sandbox ... (69 actions running) [11,276 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 76s remote-cache, linux-sandbox ... (70 actions running) [11,289 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,294 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,303 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,313 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 81s remote-cache, linux-sandbox ... (70 actions running) [11,321 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 82s remote-cache, linux-sandbox ... (70 actions running) [11,322 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,335 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,340 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,348 / 12,446] 222 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,349 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 88s remote-cache, linux-sandbox ... (70 actions running) [11,353 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,354 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,360 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,366 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 93s remote-cache, linux-sandbox ... (70 actions running) [11,371 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,373 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,377 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 97s remote-cache, linux-sandbox ... (70 actions running) [11,383 / 12,446] 223 / 415 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 98s remote-cache, linux-sandbox ... (70 actions running) [11,388 / 12,446] 223 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 6 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,397 / 12,446] 223 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,398 / 12,446] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [11,404 / 12,446] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,407 / 12,446] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,408 / 12,446] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [11,412 / 12,446] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 42s remote-cache, linux-sandbox ... (70 actions running) [11,416 / 12,446] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,424 / 12,448] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,426 / 12,448] 224 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,434 / 12,448] 225 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,436 / 12,448] 225 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,441 / 12,448] 226 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [11,448 / 12,448] 226 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,450 / 12,448] 226 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,455 / 12,448] 226 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [11,457 / 12,448] 226 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [11,458 / 12,448] 226 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [11,463 / 12,448] 226 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [11,473 / 12,499] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,480 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,488 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,491 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,497 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,499 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [11,504 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [11,513 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [11,513 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [11,516 / 12,505] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,528 / 12,556] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,531 / 12,556] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 71s remote-cache, linux-sandbox ... (70 actions running) [11,538 / 12,556] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 72s remote-cache, linux-sandbox ... (70 actions running) [11,540 / 12,556] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,541 / 12,556] 227 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,549 / 12,556] 228 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [11,556 / 12,563] 228 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [11,568 / 12,563] 230 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,573 / 12,563] 230 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,574 / 12,563] 230 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,582 / 12,563] 230 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,589 / 12,563] 230 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,595 / 12,563] 231 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,599 / 12,563] 231 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,605 / 12,563] 231 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [11,611 / 12,563] 231 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,617 / 12,565] 231 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [11,626 / 12,575] 231 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,638 / 12,596] 231 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,642 / 12,596] 232 / 415 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 92s remote-cache, linux-sandbox ... (70 actions running) [11,653 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,662 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 38s remote-cache, linux-sandbox ... (66 actions, 64 running) [11,668 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,671 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [11,678 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,682 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,691 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,699 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,705 / 12,596] 234 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 45s remote-cache, linux-sandbox ... (68 actions, 67 running) [11,717 / 12,596] 235 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,721 / 12,596] 235 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,731 / 12,596] 235 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,736 / 12,596] 236 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,742 / 12,596] 236 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,757 / 12,596] 237 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 52s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,762 / 12,596] 237 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,770 / 12,596] 237 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,781 / 12,598] 237 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 56s remote-cache, linux-sandbox ... (68 actions, 67 running) [11,785 / 12,598] 237 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,790 / 12,598] 238 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 58s remote-cache, linux-sandbox ... (67 actions, 65 running) [11,798 / 12,604] 238 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [11,803 / 12,606] 238 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,815 / 12,606] 238 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [11,820 / 12,606] 238 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [11,821 / 12,606] 238 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,821 / 12,606] 238 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [11,841 / 12,608] 240 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 67s remote-cache, linux-sandbox ... (68 actions running) [11,846 / 12,687] 240 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [11,849 / 12,687] 240 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 69s remote-cache, linux-sandbox ... (68 actions, 67 running) [11,870 / 12,687] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,873 / 12,687] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 71s remote-cache, linux-sandbox ... (68 actions, 67 running) [11,883 / 12,687] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,892 / 12,716] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,897 / 12,716] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,908 / 12,716] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,916 / 12,716] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [11,926 / 12,718] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,934 / 12,718] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,938 / 12,718] 243 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,951 / 12,720] 244 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,952 / 12,720] 244 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 83s remote-cache, linux-sandbox ... (70 actions running) [11,958 / 12,720] 245 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 84s remote-cache, linux-sandbox ... (70 actions running) [11,973 / 12,720] 245 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,975 / 12,720] 245 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,984 / 12,722] 245 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,995 / 12,722] 245 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,005 / 12,724] 246 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,017 / 12,724] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 91s remote-cache, linux-sandbox ... (70 actions running) [12,022 / 12,724] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,027 / 12,728] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 93s remote-cache, linux-sandbox ... (70 actions running) [12,027 / 12,728] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 94s remote-cache, linux-sandbox ... (70 actions running) [12,028 / 12,728] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,039 / 12,728] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,049 / 12,767] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,055 / 12,773] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 99s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,056 / 12,773] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 100s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,066 / 12,791] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 101s remote-cache, linux-sandbox ... (70 actions running) [12,072 / 12,855] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 103s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,081 / 12,880] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,085 / 12,880] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 105s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,089 / 12,880] 247 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 106s remote-cache, linux-sandbox ... (69 actions running) [12,099 / 12,880] 249 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 107s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,107 / 12,880] 249 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 108s remote-cache, linux-sandbox ... (70 actions running) [12,115 / 12,880] 250 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 110s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,125 / 12,904] 251 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 111s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,133 / 12,910] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [12,139 / 12,910] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 113s remote-cache, linux-sandbox ... (70 actions running) [12,148 / 12,910] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 114s remote-cache, linux-sandbox ... (70 actions running) [12,150 / 12,910] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 115s remote-cache, linux-sandbox ... (70 actions running) [12,157 / 12,910] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 116s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,161 / 12,910] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 118s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,172 / 12,912] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 119s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,177 / 12,929] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 120s remote-cache, linux-sandbox ... (70 actions running) [12,179 / 12,929] 252 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 121s remote-cache, linux-sandbox ... (70 actions running) [12,186 / 12,929] 254 / 415 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 123s remote-cache, linux-sandbox ... (70 actions running) [12,198 / 12,947] 255 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,205 / 12,947] 255 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,209 / 12,947] 255 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,217 / 12,949] 255 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,222 / 12,951] 255 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 62s remote-cache, linux-sandbox ... (69 actions running) [12,229 / 12,951] 256 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,239 / 12,977] 258 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [12,245 / 12,977] 258 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,252 / 12,977] 258 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [12,257 / 12,977] 258 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,268 / 12,977] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [12,272 / 12,977] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [12,279 / 12,977] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,283 / 12,977] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 73s remote-cache, linux-sandbox ... (70 actions running) [12,298 / 12,986] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,305 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,314 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,320 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,331 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,332 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,339 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,348 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [12,357 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,360 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,366 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,374 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 86s remote-cache, linux-sandbox ... (64 actions, 59 running) [12,377 / 12,990] 259 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,388 / 12,990] 260 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,394 / 12,990] 260 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) FAIL: //pkg/ddl:ddl_test (shard 8 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_8_of_50/test_attempts/attempt_1.log) [12,401 / 12,990] 260 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,405 / 12,990] 260 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 92s remote-cache, linux-sandbox ... (70 actions running) [12,417 / 13,029] 260 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 94s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,428 / 13,029] 261 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,432 / 13,029] 261 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,438 / 13,029] 261 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 97s remote-cache, linux-sandbox ... (70 actions running) [12,447 / 13,029] 261 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 99s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,458 / 13,029] 261 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 100s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,465 / 13,029] 261 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 101s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,471 / 13,029] 262 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,478 / 13,029] 263 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 103s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,479 / 13,029] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 104s remote-cache, linux-sandbox ... (70 actions running) [12,489 / 13,029] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 105s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,493 / 13,029] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 106s remote-cache, linux-sandbox ... (70 actions running) [12,498 / 13,029] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 107s remote-cache, linux-sandbox ... (69 actions, 68 running) FAIL: //pkg/ddl:ddl_test (shard 11 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_11_of_50/test_attempts/attempt_1.log) [12,503 / 13,029] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 109s remote-cache, linux-sandbox ... (70 actions running) [12,508 / 13,029] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 110s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,514 / 13,031] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 111s remote-cache, linux-sandbox ... (70 actions running) [12,516 / 13,068] 264 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [12,530 / 13,068] 266 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 113s remote-cache, linux-sandbox ... (69 actions, 68 running) INFO: From Testing //pkg/ddl:ddl_test (shard 8 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 8 of 50): === RUN TestPartition [2024/05/18 21:50:38.094 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:38.095 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:38.095 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:38.096 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:38.096 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:38.097 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:38.099 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=8154c96d-4009-4276-b02a-79057f3b7c99] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:38.111 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:38.111 +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/18 21:50:38.112 +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.TestPartition\n\tpkg/ddl/attributes_sql_test.go:428\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:38.116 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.683898ms] [2024/05/18 21:50:38.116 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:38.116 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=ddbda1c4-b654-4ed3-8136-d22c2b1e690b] [runWorker=true] [2024/05/18 21:50:38.116 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:38.116 +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/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:38.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:38.116 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:38.117 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:38.117 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:38.117 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:38.117 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:38.117 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:38.118 +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/18 21:50:38.126 +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-18 21:50:38.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.126 +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-18 21:50:38.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:38.134 +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-18 21:50:38.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.146 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.832724ms] [2024/05/18 21:50:38.147 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:38.148 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.148 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:38.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=1] ["take time"=6.708256ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:38.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.163 +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-18 21:50:38.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.166 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:38.166 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.166 +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/18 21:50:38.167 +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/18 21:50:38.173 +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-18 21:50:38.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.173 +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-18 21:50:38.169 +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/18 21:50:38.180 +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-18 21:50:38.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.189 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.087407ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.191 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:38.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.871965ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.199 +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-18 21:50:38.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.206 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:38.206 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.207 +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/18 21:50:38.210 +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-18 21:50:38.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.210 +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-18 21:50:38.208 +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/18 21:50:38.215 +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-18 21:50:38.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.218 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=288.683µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.219 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.219 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:38.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=3] ["take time"=2.768744ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.228 +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-18 21:50:38.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.232 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:38.232 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.233 +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/18 21:50:38.236 +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-18 21:50:38.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.236 +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-18 21:50:38.235 +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/18 21:50:38.243 +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-18 21:50:38.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.246 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=266.624µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.247 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.247 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:38.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=4] ["take time"=3.010872ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.253 +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-18 21:50:38.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.256 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:38.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.257 +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/18 21:50:38.261 +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-18 21:50:38.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.261 +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-18 21:50:38.259 +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/18 21:50:38.269 +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-18 21:50:38.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.277 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=650.506µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.279 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.279 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:38.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=5] ["take time"=4.802009ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.301 +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-18 21:50:38.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.314 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:38.314 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.315 +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/18 21:50:38.319 +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-18 21:50:38.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.319 +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-18 21:50:38.317 +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/18 21:50:38.325 +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-18 21:50:38.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.328 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=269.804µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.330 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.330 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:38.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=6] ["take time"=2.566952ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.336 +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-18 21:50:38.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.340 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:38.341 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.341 +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/18 21:50:38.346 +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-18 21:50:38.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.346 +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-18 21:50:38.343 +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/18 21:50:38.352 +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-18 21:50:38.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.355 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=317.478µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.356 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.356 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:38.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=7] ["take time"=2.260134ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.362 +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-18 21:50:38.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.365 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:38.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.366 +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/18 21:50:38.372 +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-18 21:50:38.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.372 +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-18 21:50:38.367 +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/18 21:50:38.384 +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-18 21:50:38.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.387 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=241.433µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.388 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.388 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:38.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=8] ["take time"=2.508298ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.393 +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-18 21:50:38.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.396 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:38.396 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.396 +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/18 21:50:38.398 +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-18 21:50:38.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.398 +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-18 21:50:38.397 +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/18 21:50:38.409 +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-18 21:50:38.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.411 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=226.754µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.412 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.412 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:38.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=9] ["take time"=3.249202ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.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-18 21:50:38.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.421 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:38.421 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.422 +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/18 21:50:38.425 +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-18 21:50:38.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.425 +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-18 21:50:38.423 +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/18 21:50:38.431 +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-18 21:50:38.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.434 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=294.731µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.436 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.436 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:38.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=10] ["take time"=2.347311ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.441 +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-18 21:50:38.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.444 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:38.444 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.444 +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/18 21:50:38.447 +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-18 21:50:38.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.447 +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-18 21:50:38.446 +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/18 21:50:38.454 +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-18 21:50:38.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.458 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=320.848µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.459 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.459 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:38.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=11] ["take time"=2.200885ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.464 +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-18 21:50:38.446 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.469 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:38.469 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.469 +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/18 21:50:38.470 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:38.473 +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-18 21:50:38.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.473 +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-18 21:50:38.471 +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/18 21:50:38.478 +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-18 21:50:38.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=439.732µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.483 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:38.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=12] ["take time"=2.48068ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.489 +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-18 21:50:38.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.493 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:38.493 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.494 +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/18 21:50:38.499 +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-18 21:50:38.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.499 +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-18 21:50:38.496 +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/18 21:50:38.505 +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-18 21:50:38.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.511 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=361.316µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.512 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.512 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:38.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=3.621581ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.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-18 21:50:38.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.522 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:38.522 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.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/18 21:50:38.526 +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-18 21:50:38.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.526 +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-18 21:50:38.524 +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/18 21:50:38.533 +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-18 21:50:38.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.537 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=312.269µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.538 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.538 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:38.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=14] ["take time"=2.698135ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.544 +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-18 21:50:38.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.547 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:38.547 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.547 +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/18 21:50:38.551 +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-18 21:50:38.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.551 +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-18 21:50:38.55 +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/18 21:50:38.556 +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-18 21:50:38.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.558 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=201.951µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.559 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.559 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:38.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=15] ["take time"=2.996209ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.565 +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-18 21:50:38.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.568 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:38.568 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.569 +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/18 21:50:38.573 +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-18 21:50:38.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.573 +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-18 21:50:38.572 +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/18 21:50:38.578 +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-18 21:50:38.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.581 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=270.185µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.582 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.582 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:38.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=16] ["take time"=2.518413ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.586 +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-18 21:50:38.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.589 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:38.589 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.590 +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/18 21:50:38.592 +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-18 21:50:38.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.593 +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-18 21:50:38.591 +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/18 21:50:38.598 +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-18 21:50:38.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.602 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=333.928µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.603 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.603 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:38.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=17] ["take time"=3.321343ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.610 +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-18 21:50:38.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.613 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:38.613 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.614 +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/18 21:50:38.617 +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-18 21:50:38.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.617 +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-18 21:50:38.615 +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/18 21:50:38.626 +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-18 21:50:38.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=276.257µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.631 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:38.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=18] ["take time"=28.658041ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.664 +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-18 21:50:38.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.668 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:38.668 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.669 +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/18 21:50:38.690 +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-18 21:50:38.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.690 +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-18 21:50:38.67 +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/18 21:50:38.701 +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-18 21:50:38.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.705 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=394.38µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.706 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.706 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:38.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=19] ["take time"=2.620843ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.712 +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-18 21:50:38.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.716 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:38.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.718 +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/18 21:50:38.720 +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-18 21:50:38.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.720 +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-18 21:50:38.719 +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/18 21:50:38.725 +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-18 21:50:38.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.727 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=209.784µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.728 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.728 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:38.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=20] ["take time"=2.792289ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.735 +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-18 21:50:38.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.738 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:38.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.739 +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/18 21:50:38.741 +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-18 21:50:38.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.741 +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-18 21:50:38.74 +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/18 21:50:38.748 +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-18 21:50:38.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.750 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=181.64µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.751 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.751 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:38.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=21] ["take time"=2.55912ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.757 +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-18 21:50:38.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.761 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:38.761 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.761 +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/18 21:50:38.763 +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-18 21:50:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.763 +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-18 21:50:38.762 +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/18 21:50:38.771 +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-18 21:50:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.773 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=171.311µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.774 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.774 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:38.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=22] ["take time"=3.076561ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.780 +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-18 21:50:38.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.783 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:38.783 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.783 +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/18 21:50:38.786 +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-18 21:50:38.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.786 +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-18 21:50:38.785 +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/18 21:50:38.792 +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-18 21:50:38.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.795 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=351.796µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.796 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.796 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:38.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=23] ["take time"=2.228693ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.803 +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-18 21:50:38.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.807 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:38.807 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.807 +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/18 21:50:38.810 +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-18 21:50:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.810 +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-18 21:50:38.809 +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/18 21:50:38.816 +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-18 21:50:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.819 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=228.167µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.819 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.819 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:38.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=24] ["take time"=2.464823ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.829 +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-18 21:50:38.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.832 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:38.832 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.833 +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/18 21:50:38.835 +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-18 21:50:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.836 +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-18 21:50:38.834 +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/18 21:50:38.842 +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-18 21:50:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.846 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=204.431µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.847 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.847 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:38.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=25] ["take time"=2.315786ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.852 +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-18 21:50:38.834 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.856 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:38.856 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.856 +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/18 21:50:38.859 +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-18 21:50:38.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.859 +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-18 21:50:38.858 +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/18 21:50:38.867 +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-18 21:50:38.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.870 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=179.719µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.871 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.871 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:38.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"=2.165385ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.879 +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-18 21:50:38.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.882 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:38.882 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.882 +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/18 21:50:38.886 +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-18 21:50:38.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.886 +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-18 21:50:38.884 +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/18 21:50:38.892 +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-18 21:50:38.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.894 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=223.669µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.895 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.895 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:38.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.051205ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.900 +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-18 21:50:38.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.903 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:38.903 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.903 +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/18 21:50:38.906 +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-18 21:50:38.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.906 +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-18 21:50:38.904 +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/18 21:50:38.913 +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-18 21:50:38.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.916 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=249.611µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.917 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.917 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:38.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=28] ["take time"=2.133373ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.922 +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-18 21:50:38.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.925 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:38.925 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.925 +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/18 21:50:38.925 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:38.928 +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-18 21:50:38.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.928 +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-18 21:50:38.927 +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/18 21:50:38.933 +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-18 21:50:38.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.936 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=247.9µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.937 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.937 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:38.938 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.439609ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.945 +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-18 21:50:38.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.948 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:38.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.948 +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/18 21:50:38.953 +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-18 21:50:38.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.953 +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-18 21:50:38.949 +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/18 21:50:38.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-18 21:50:38.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.963 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=309.44µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.964 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.964 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:38.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=30] ["take time"=10.004045ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.982 +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-18 21:50:38.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.985 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:38.985 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:38.985 +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/18 21:50:38.988 +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-18 21:50:38.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:38.988 +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-18 21:50:38.986 +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/18 21:50:38.993 +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-18 21:50:38.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:38.996 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=308.714µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:38.997 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:38.997 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:38.998 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.369784ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:38.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.003 +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-18 21:50:38.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:39.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.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/18 21:50:39.010 +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-18 21:50:39.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.010 +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-18 21:50:39.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/18 21:50:39.016 +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-18 21:50:39.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.020 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=441.684µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.021 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.022 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:39.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=32] ["take time"=4.179331ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.029 +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-18 21:50:39.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.033 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:39.033 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.033 +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/18 21:50:39.036 +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-18 21:50:39.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.036 +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-18 21:50:39.035 +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/18 21:50:39.046 +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-18 21:50:39.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.050 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=253.379µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.051 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.051 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:39.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=33] ["take time"=2.188709ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.058 +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-18 21:50:39.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:39.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.065 +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-18 21:50:39.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.065 +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-18 21:50:39.063 +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/18 21:50:39.072 +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-18 21:50:39.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.076 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=307.529µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:39.077 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.077 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:39.082 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=6.988476ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:39.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.087 +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-18 21:50:39.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.091 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:39.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.092 +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/18 21:50:39.094 +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-18 21:50:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.094 +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-18 21:50:39.093 +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/18 21:50:39.100 +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-18 21:50:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=316.669µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.104 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.104 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:39.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=35] ["take time"=2.193464ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.110 +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-18 21:50:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.113 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:39.113 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.114 +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/18 21:50:39.116 +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-18 21:50:39.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.116 +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-18 21:50:39.115 +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/18 21:50:39.119 +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/18 21:50:39.121 +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-18 21:50:39.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.124 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=253.758µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.125 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.125 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:39.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=36] ["take time"=2.031765ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.132 +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-18 21:50:39.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.136 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:39.136 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.136 +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/18 21:50:39.138 +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-18 21:50:39.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.138 +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-18 21:50:39.137 +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/18 21:50:39.149 +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-18 21:50:39.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.152 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=241.495µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.153 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.153 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:39.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"=2.721255ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.159 +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-18 21:50:39.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.162 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:39.162 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.163 +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/18 21:50:39.166 +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-18 21:50:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.166 +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-18 21:50:39.164 +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/18 21:50:39.172 +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-18 21:50:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.177 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=485.555µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.178 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.178 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:39.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=38] ["take time"=2.379333ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.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-18 21:50:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.187 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:39.187 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.187 +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/18 21:50:39.190 +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-18 21:50:39.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.190 +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-18 21:50:39.188 +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/18 21:50:39.195 +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-18 21:50:39.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.199 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=458.555µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.201 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.201 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:39.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=39] ["take time"=2.54491ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.209 +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-18 21:50:39.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.213 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:39.213 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.214 +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/18 21:50:39.217 +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-18 21:50:39.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.217 +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-18 21:50:39.215 +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/18 21:50:39.225 +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-18 21:50:39.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.230 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=474.601µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.231 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.231 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:39.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=40] ["take time"=6.15875ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.242 +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-18 21:50:39.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.245 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:39.245 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.246 +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/18 21:50:39.249 +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-18 21:50:39.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.249 +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-18 21:50:39.247 +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/18 21:50:39.254 +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-18 21:50:39.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.258 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=373.4µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.259 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.259 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:39.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=41] ["take time"=2.351267ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.264 +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-18 21:50:39.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.268 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:39.268 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.268 +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/18 21:50:39.271 +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-18 21:50:39.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.271 +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-18 21:50:39.27 +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/18 21:50:39.279 +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-18 21:50:39.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.283 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=443.445µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.284 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.284 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:39.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=42] ["take time"=2.679012ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.290 +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-18 21:50:39.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.294 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:39.294 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.295 +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/18 21:50:39.299 +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-18 21:50:39.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.299 +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-18 21:50:39.297 +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/18 21:50:39.305 +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-18 21:50:39.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.309 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=457.586µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.310 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.310 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:39.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=43] ["take time"=5.76372ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.327 +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-18 21:50:39.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.331 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:39.331 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.332 +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/18 21:50:39.335 +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-18 21:50:39.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.335 +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-18 21:50:39.333 +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/18 21:50:39.342 +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-18 21:50:39.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.349 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=335.048µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.350 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.350 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:39.352 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=3.152422ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.357 +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-18 21:50:39.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.362 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:39.362 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.363 +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/18 21:50:39.366 +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-18 21:50:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.366 +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-18 21:50:39.364 +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/18 21:50:39.371 +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-18 21:50:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.375 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=308.838µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.376 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.376 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:39.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=45] ["take time"=2.05418ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.383 +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-18 21:50:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.387 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:39.387 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.388 +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/18 21:50:39.391 +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-18 21:50:39.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.391 +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-18 21:50:39.389 +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/18 21:50:39.398 +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-18 21:50:39.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.408 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=1.114079ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.410 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.410 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:39.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=46] ["take time"=4.608875ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.426 +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-18 21:50:39.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.430 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:39.431 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.431 +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/18 21:50:39.434 +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-18 21:50:39.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.434 +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-18 21:50:39.433 +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/18 21:50:39.442 +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-18 21:50:39.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.445 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=328.481µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.446 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.446 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:39.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=47] ["take time"=7.512589ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.457 +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-18 21:50:39.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.462 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:39.462 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.462 +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/18 21:50:39.472 +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-18 21:50:39.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.472 +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-18 21:50:39.471 +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/18 21:50:39.483 +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-18 21:50:39.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.488 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=248.931µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.489 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.489 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:39.490 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.131937ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.497 +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-18 21:50:39.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.502 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:39.502 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.502 +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/18 21:50:39.506 +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-18 21:50:39.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.506 +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-18 21:50:39.504 +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/18 21:50:39.515 +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-18 21:50:39.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.518 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=293.015µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.520 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.520 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:39.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=49] ["take time"=2.846752ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.530 +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-18 21:50:39.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.533 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:39.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.533 +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/18 21:50:39.535 +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-18 21:50:39.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.535 +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-18 21:50:39.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:39.544 +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-18 21:50:39.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.546 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=70.768µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:39.547 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.547 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:39.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=50] ["take time"=2.475626ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.553 +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-18 21:50:39.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.559 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:39.559 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.562 +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-18 21:50:39.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.562 +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-18 21:50:39.561 +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/18 21:50:39.568 +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-18 21:50:39.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.571 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=195.472µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:39.572 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:39.572 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:39.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=51] ["take time"=2.39885ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:39.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.577 +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-18 21:50:39.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.580 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:39.580 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.612 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.495157626s] [2024/05/18 21:50:39.614 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ddbda1c4-b654-4ed3-8136-d22c2b1e690b] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=2.132µs] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=914ns] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=786ns] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=909ns] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=754ns] [2024/05/18 21:50:39.614 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:39.614 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:39.614 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:39.617 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=ddbda1c4-b654-4ed3-8136-d22c2b1e690b] ["take time"=2.649442ms] [2024/05/18 21:50:39.617 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=ddbda1c4-b654-4ed3-8136-d22c2b1e690b] [2024/05/18 21:50:39.617 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:39.617 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:39.617 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:39.617 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:39.617 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:39.617 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:39.617 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:39.617 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:39.617 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:39.617 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:39.617 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:39.617 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:39.618 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:39.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:39.618 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.033096ms] [2024/05/18 21:50:39.618 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=8154c96d-4009-4276-b02a-79057f3b7c99] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:39.625 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:39.625 +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/18 21:50:39.639 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=13.786072ms] [2024/05/18 21:50:39.640 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:39.640 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=b0769b17-b35a-48ec-b43a-527c0fb21798] [runWorker=true] [2024/05/18 21:50:39.640 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:39.640 +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/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:39.640 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:39.640 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:39.640 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:39.640 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:39.641 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:39.641 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:39.640 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:39.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:39.643 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:39.646 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/18 21:50:39.647 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:39.655 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:39.658 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:39.666 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:39.666 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:39.667 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:39.667 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:39.667 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:39.667 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:39.668 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:39.668 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:39.668 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:39.669 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:39.671 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:39.671 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:39.674 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:39.674 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table part (c int)\nPARTITION BY RANGE (c) (\n\tPARTITION p0 VALUES LESS THAN (6),\n\tPARTITION p1 VALUES LESS THAN (11),\n\tPARTITION p2 VALUES LESS THAN (20)\n);"] [user=] [2024/05/18 21:50:39.678 +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:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.678 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table part (c int)\nPARTITION BY RANGE (c) (\n\tPARTITION p0 VALUES LESS THAN (6),\n\tPARTITION p1 VALUES LESS THAN (11),\n\tPARTITION p2 VALUES LESS THAN (20)\n);"] [2024/05/18 21:50:39.684 +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:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.687 +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/18 21:50:39.716 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=28.430539ms] [2024/05/18 21:50:39.726 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:39.728 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=52] [2024/05/18 21:50:39.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=52] ["take time"=43.071187ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.743 +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:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.677 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.747 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/18 21:50:39.747 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.747 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="create table part1 (c int);"] [user=] [2024/05/18 21:50:39.753 +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-18 21:50:39.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.753 +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-18 21:50:39.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table part1 (c int);"] [2024/05/18 21:50:39.758 +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:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.760 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=173.414µs] [gotSchemaVersion=53] [phyTblIDs="[109]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:39.762 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=53] [2024/05/18 21:50:39.765 +00:00] [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.482646ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.769 +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:create table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.772 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/18 21:50:39.772 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.773 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=53] [cur_db=test] [sql="alter table part attributes=\"key=value\";"] [user=] [2024/05/18 21:50:39.777 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.777 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table part attributes=\"key=value\";"] [2024/05/18 21:50:39.781 +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:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.787 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=4.346191ms] [gotSchemaVersion=54] [phyTblIDs="[104,105,106,107]"] [actionTypes="[49,49,49,49]"] [diffTypes="[\"alter table attributes\"]"] [2024/05/18 21:50:39.788 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=54] [2024/05/18 21:50:39.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=54] ["take time"=11.782494ms] [job="ID:111, Type:alter table attributes, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.807 +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:alter table attributes, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.813 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/18 21:50:39.813 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.813 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=54] [cur_db=test] [sql="alter table part partition p0 attributes=\"key1=value1\";"] [user=] [2024/05/18 21:50:39.821 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.821 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:112, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table part partition p0 attributes=\"key1=value1\";"] [2024/05/18 21:50:39.827 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=112] [conn=1] [category=ddl] [job="ID:112, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.846 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=15.686266ms] [gotSchemaVersion=55] [phyTblIDs="[104,105,106,107]"] [actionTypes="[50,50,50,50]"] [diffTypes="[\"alter table partition attributes\"]"] [2024/05/18 21:50:39.848 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=55] [2024/05/18 21:50:39.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=55] ["take time"=18.511791ms] [job="ID:112, Type:alter table partition attributes, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.855 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=112] [conn=1] [job="ID:112, Type:alter table partition attributes, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.878 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/18 21:50:39.878 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.878 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=55] [cur_db=test] [sql="alter table part partition p1 attributes=\"key2=value2\";"] [user=] [2024/05/18 21:50:39.880 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.881 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table part partition p1 attributes=\"key2=value2\";"] [2024/05/18 21:50:39.889 +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:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.897 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=5.637319ms] [gotSchemaVersion=56] [phyTblIDs="[104,105,106,107]"] [actionTypes="[50,50,50,50]"] [diffTypes="[\"alter table partition attributes\"]"] [2024/05/18 21:50:39.899 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2024/05/18 21:50:39.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=56] ["take time"=8.068264ms] [job="ID:113, Type:alter table partition attributes, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.904 +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:alter table partition attributes, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.907 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/18 21:50:39.907 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.908 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=56] [cur_db=test] [sql="alter table part drop partition p0;"] [user=] [2024/05/18 21:50:39.911 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.911 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table part drop partition p0;"] [2024/05/18 21:50:39.916 +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:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.918 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=519.802µs] [gotSchemaVersion=57] [phyTblIDs="[104,106,107]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/18 21:50:39.919 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2024/05/18 21:50:39.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=57] ["take time"=2.138428ms] [job="ID:114, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.925 +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:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.927 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=513.6µs] [gotSchemaVersion=58] [phyTblIDs="[104,106,107]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/18 21:50:39.928 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/18 21:50:39.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=58] ["take time"=2.174679ms] [job="ID:114, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.933 +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:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.936 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=357.812µs] [gotSchemaVersion=59] [phyTblIDs="[104,106,107]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/18 21:50:39.937 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2024/05/18 21:50:39.938 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.418957ms] [job="ID:114, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.945 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[105]"] [comment="drop partition: physical table ID(s)"] [2024/05/18 21:50:39.946 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop partition"] [2024/05/18 21:50:39.946 +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:drop partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.952 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=748000000000000069] [endKey=74800000000000006a] [2024/05/18 21:50:39.954 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/18 21:50:39.954 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.955 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=59] [cur_db=test] [sql="alter table part truncate partition p1;"] [user=] [2024/05/18 21:50:39.958 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:39.959 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:39.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table part truncate partition p1;"] [2024/05/18 21:50:39.968 +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:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.977 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=6.031207ms] [gotSchemaVersion=60] [phyTblIDs="[106]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/18 21:50:39.978 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2024/05/18 21:50:39.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=60] ["take time"=9.620785ms] [job="ID:116, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.987 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[106]"] [comment="drop partition: physical table ID(s)"] [2024/05/18 21:50:39.988 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="truncate partition"] [2024/05/18 21:50:39.988 +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:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:39.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:39.994 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b] [2024/05/18 21:50:39.995 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/18 21:50:39.995 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:39.996 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test] [sql="alter table part exchange partition p1 with table part1;"] [user=] [2024/05/18 21:50:40.000 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:exchange partition, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:39.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.000 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:exchange partition, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:39.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table part exchange partition p1 with table part1;"] [2024/05/18 21:50:40.008 +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:exchange partition, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.010 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=207.182µs] [gotSchemaVersion=61] [phyTblIDs="[109]"] [actionTypes="[42]"] [diffTypes="[\"exchange partition\"]"] [2024/05/18 21:50:40.013 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2024/05/18 21:50:40.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=3.082532ms] [job="ID:117, Type:exchange partition, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:39.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.021 +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:exchange partition, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=5.266072ms] [gotSchemaVersion=62] [phyTblIDs="[104,109,107,115]"] [actionTypes="[42,42,42,42]"] [diffTypes="[\"exchange partition\"]"] [2024/05/18 21:50:40.039 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2024/05/18 21:50:40.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=62] ["take time"=9.061071ms] [job="ID:117, Type:exchange partition, State:done, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:39.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.051 +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:exchange partition, State:synced, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:39.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.058 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/18 21:50:40.058 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.062 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b0769b17-b35a-48ec-b43a-527c0fb21798] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.958µs] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.217µs] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.412µs] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.364µs] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.322µs] [2024/05/18 21:50:40.062 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:40.062 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:40.062 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:40.063 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=b0769b17-b35a-48ec-b43a-527c0fb21798] ["take time"=4.214156ms] [2024/05/18 21:50:40.063 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=b0769b17-b35a-48ec-b43a-527c0fb21798] [2024/05/18 21:50:40.063 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:40.063 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:40.063 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:40.063 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:40.063 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:40.063 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:40.063 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:40.063 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:40.063 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:40.063 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:40.063 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:40.064 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b0769b17-b35a-48ec-b43a-527c0fb21798] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:40.064 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:40.064 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b0769b17-b35a-48ec-b43a-527c0fb21798] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:40.064 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:40.064 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:40.065 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:40.065 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:40.065 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:40.065 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:40.065 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:40.065 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:40.065 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:40.065 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:40.065 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.209026ms] [2024/05/18 21:50:40.065 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:40.066 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:40.066 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:40.066 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:40.066 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:40.066 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestPartition (1.99s) === RUN TestAlterTableCache [2024/05/18 21:50:40.076 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:40.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:40.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:40.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:40.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:40.078 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:40.080 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=2052361d-5531-4d59-a380-f3c19e467a0b] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:40.087 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:40.088 +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/18 21:50:40.088 +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.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:41\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:40.106 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=17.945199ms] [2024/05/18 21:50:40.108 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:40.108 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=d41b181b-280d-4b28-a166-8378d5afc1c1] [runWorker=true] [2024/05/18 21:50:40.108 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:40.108 +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/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:40.108 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:40.108 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:40.109 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:40.109 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:40.109 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:40.110 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:40.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:40.160 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:40.160 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:40.311 +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/18 21:50:40.313 +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-18 21:50:40.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.313 +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-18 21:50:40.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:40.322 +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-18 21:50:40.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.344 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.830498ms] [2024/05/18 21:50:40.347 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:40.348 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:40.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=1] ["take time"=24.03631ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:40.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.355 +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-18 21:50:40.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.357 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:40.357 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.358 +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/18 21:50:40.360 +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/18 21:50:40.367 +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-18 21:50:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.367 +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-18 21:50:40.362 +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/18 21:50:40.375 +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-18 21:50:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.384 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.13051ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.385 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.385 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:40.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=2] ["take time"=8.782283ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.399 +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-18 21:50:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:40.406 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.407 +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/18 21:50:40.409 +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-18 21:50:40.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.409 +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-18 21:50:40.408 +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/18 21:50:40.416 +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-18 21:50:40.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.419 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=250.726µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.420 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.420 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:40.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=3] ["take time"=2.454122ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.428 +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-18 21:50:40.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.431 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:40.431 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.432 +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/18 21:50:40.434 +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-18 21:50:40.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.434 +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-18 21:50:40.433 +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/18 21:50:40.444 +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-18 21:50:40.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.446 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=244.842µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.447 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.447 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:40.449 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.991948ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.454 +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-18 21:50:40.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.457 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:40.457 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.458 +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/18 21:50:40.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-18 21:50:40.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.462 +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-18 21:50:40.46 +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/18 21:50:40.466 +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-18 21:50:40.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.473 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=667.312µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.475 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.475 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:40.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=5] ["take time"=4.15743ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.485 +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-18 21:50:40.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.489 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:40.489 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.490 +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/18 21:50:40.493 +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-18 21:50:40.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.493 +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-18 21:50:40.491 +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/18 21:50:40.499 +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-18 21:50:40.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.502 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=351.185µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.504 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.504 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:40.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=6] ["take time"=2.959597ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.509 +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-18 21:50:40.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.512 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:40.513 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.513 +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/18 21:50:40.516 +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-18 21:50:40.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.516 +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-18 21:50:40.514 +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/18 21:50:40.525 +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-18 21:50:40.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.528 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=395.864µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.530 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.530 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:40.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=7] ["take time"=2.028234ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.535 +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-18 21:50:40.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.539 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:40.539 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.540 +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/18 21:50:40.543 +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-18 21:50:40.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.543 +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-18 21:50:40.541 +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/18 21:50:40.549 +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-18 21:50:40.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.553 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=217.142µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.554 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.554 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:40.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=8] ["take time"=2.850029ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.561 +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-18 21:50:40.541 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.565 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:40.565 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.565 +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/18 21:50:40.567 +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-18 21:50:40.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.568 +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-18 21:50:40.566 +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/18 21:50:40.577 +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-18 21:50:40.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=255.05µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.581 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.581 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:40.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=9] ["take time"=2.709929ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.588 +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-18 21:50:40.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.591 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:40.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.591 +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/18 21:50:40.594 +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-18 21:50:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.594 +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-18 21:50:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/18 21:50:40.602 +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-18 21:50:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.604 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=254.599µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.606 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.606 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:40.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=10] ["take time"=2.076819ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.611 +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-18 21:50:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.615 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:40.615 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.616 +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/18 21:50:40.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-18 21:50:40.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.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-18 21:50:40.617 +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/18 21:50:40.626 +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-18 21:50:40.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=316.877µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.631 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:40.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=11] ["take time"=2.349028ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.637 +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-18 21:50:40.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.640 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:40.640 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.640 +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/18 21:50:40.641 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:40.644 +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-18 21:50:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.644 +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-18 21:50:40.642 +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/18 21:50:40.650 +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-18 21:50:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.654 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=489.079µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.655 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.655 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:40.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=12] ["take time"=2.958293ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.661 +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-18 21:50:40.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.665 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:40.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.666 +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/18 21:50:40.669 +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-18 21:50:40.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.669 +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-18 21:50:40.667 +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/18 21:50:40.675 +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-18 21:50:40.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.678 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=281.612µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.679 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.679 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:40.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=13] ["take time"=2.183249ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.684 +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-18 21:50:40.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.687 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:40.687 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.687 +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/18 21:50:40.690 +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-18 21:50:40.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.690 +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-18 21:50:40.689 +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/18 21:50:40.698 +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-18 21:50:40.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.701 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=362.354µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.702 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.702 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:40.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=14] ["take time"=2.63967ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.711 +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-18 21:50:40.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.714 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:40.714 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.715 +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/18 21:50:40.718 +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-18 21:50:40.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.718 +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-18 21:50:40.716 +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/18 21:50:40.727 +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-18 21:50:40.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.729 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=262.559µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.730 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.730 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:40.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=15] ["take time"=2.37519ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.735 +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-18 21:50:40.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.738 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:40.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.738 +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/18 21:50:40.741 +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-18 21:50:40.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.741 +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-18 21:50:40.739 +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/18 21:50:40.751 +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-18 21:50:40.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.755 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=314.215µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.757 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.757 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:40.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=16] ["take time"=11.306499ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.772 +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-18 21:50:40.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.776 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:40.776 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.776 +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/18 21:50:40.779 +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-18 21:50:40.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.779 +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-18 21:50:40.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/18 21:50:40.786 +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-18 21:50:40.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.790 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=321.828µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.791 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.791 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:40.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=17] ["take time"=2.99424ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.799 +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-18 21:50:40.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.803 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:40.803 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.804 +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/18 21:50:40.806 +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-18 21:50:40.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.806 +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-18 21:50:40.805 +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/18 21:50:40.813 +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-18 21:50:40.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.820 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=281.532µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.821 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.821 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:40.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=18] ["take time"=2.96822ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.832 +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-18 21:50:40.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.835 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:40.836 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.836 +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/18 21:50:40.839 +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-18 21:50:40.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.839 +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-18 21:50:40.837 +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/18 21:50:40.846 +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-18 21:50:40.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.850 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=363.29µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.851 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.851 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:40.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=19] ["take time"=2.545668ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.857 +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-18 21:50:40.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.860 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:40.860 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.861 +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/18 21:50:40.864 +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-18 21:50:40.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.864 +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-18 21:50:40.863 +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/18 21:50:40.871 +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-18 21:50:40.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.874 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=307.143µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.875 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.875 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:40.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=20] ["take time"=2.362987ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.880 +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-18 21:50:40.863 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.884 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:40.884 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.884 +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/18 21:50:40.887 +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-18 21:50:40.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.887 +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-18 21:50:40.885 +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/18 21:50:40.892 +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-18 21:50:40.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.895 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=232.915µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.897 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.897 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:40.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.165553ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.908 +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-18 21:50:40.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.911 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:40.911 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.911 +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/18 21:50:40.913 +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-18 21:50:40.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.913 +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-18 21:50:40.912 +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/18 21:50:40.919 +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-18 21:50:40.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.921 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=206.786µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.923 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.923 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:40.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=22] ["take time"=2.891211ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.930 +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-18 21:50:40.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.934 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:40.934 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.934 +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/18 21:50:40.942 +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-18 21:50:40.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.943 +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-18 21:50:40.941 +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/18 21:50:40.949 +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-18 21:50:40.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.952 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=422.966µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.954 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.954 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:40.954 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.110708ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.959 +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-18 21:50:40.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.963 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:40.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.963 +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/18 21:50:40.966 +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-18 21:50:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.966 +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-18 21:50:40.964 +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/18 21:50:40.971 +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-18 21:50:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.973 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=194.166µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:40.974 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:40.974 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:40.979 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=5.843998ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.983 +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-18 21:50:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.986 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:40.986 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:40.987 +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/18 21:50:40.989 +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-18 21:50:40.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:40.989 +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-18 21:50:40.988 +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/18 21:50:40.996 +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-18 21:50:40.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:40.999 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=305.015µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.000 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.000 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:41.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"=2.245046ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:40.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.005 +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-18 21:50:40.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.008 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:41.008 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.008 +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/18 21:50:41.011 +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-18 21:50:41.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.011 +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-18 21:50:41.01 +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/18 21:50:41.018 +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-18 21:50:41.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.021 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=242.626µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.022 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.022 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:41.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=26] ["take time"=2.993492ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.029 +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-18 21:50:41.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.033 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:41.033 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.033 +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/18 21:50:41.036 +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-18 21:50:41.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.036 +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-18 21:50:41.034 +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/18 21:50:41.045 +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-18 21:50:41.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.048 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=295.809µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.049 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.049 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:41.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=27] ["take time"=2.392395ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.056 +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-18 21:50:41.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.060 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:41.060 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.061 +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/18 21:50:41.063 +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-18 21:50:41.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.063 +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-18 21:50:41.062 +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/18 21:50:41.069 +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-18 21:50:41.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.073 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=262.836µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.074 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.074 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:41.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=28] ["take time"=2.064268ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.079 +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-18 21:50:41.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.083 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:41.083 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.083 +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/18 21:50:41.083 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:41.086 +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-18 21:50:41.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.086 +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-18 21:50:41.085 +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/18 21:50:41.105 +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-18 21:50:41.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.108 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=341.128µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.110 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.110 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:41.110 +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/18 21:50:41.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=29] ["take time"=2.038445ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.118 +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-18 21:50:41.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.122 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:41.122 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.123 +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/18 21:50:41.126 +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-18 21:50:41.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.126 +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-18 21:50:41.124 +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/18 21:50:41.131 +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-18 21:50:41.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.135 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=344.972µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.136 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.136 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:41.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=30] ["take time"=2.711176ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.141 +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-18 21:50:41.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.144 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:41.144 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.144 +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/18 21:50:41.147 +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-18 21:50:41.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.147 +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-18 21:50:41.145 +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/18 21:50:41.152 +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-18 21:50:41.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.154 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=329.966µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.155 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.155 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:41.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=31] ["take time"=2.35574ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.162 +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-18 21:50:41.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.165 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:41.165 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.166 +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/18 21:50:41.169 +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-18 21:50:41.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.169 +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-18 21:50:41.167 +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/18 21:50:41.174 +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-18 21:50:41.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.182 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=503.207µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.183 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.183 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:41.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=32] ["take time"=2.053899ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.188 +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-18 21:50:41.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.192 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:41.192 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.192 +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/18 21:50:41.194 +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-18 21:50:41.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.194 +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-18 21:50:41.193 +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/18 21:50:41.200 +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-18 21:50:41.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.202 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=150.637µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.203 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.203 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:41.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=33] ["take time"=2.074651ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.208 +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-18 21:50:41.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.210 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:41.210 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.214 +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-18 21:50:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.214 +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-18 21:50:41.212 +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/18 21:50:41.220 +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-18 21:50:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.223 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=338.46µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:41.224 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.224 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:41.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=34] ["take time"=2.977838ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.233 +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-18 21:50:41.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.236 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:41.236 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.237 +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/18 21:50:41.254 +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-18 21:50:41.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.254 +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-18 21:50:41.252 +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/18 21:50:41.259 +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-18 21:50:41.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.262 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=292.387µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.263 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.263 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:41.264 +00:00] [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.676619ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.269 +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-18 21:50:41.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.272 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:41.272 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.272 +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/18 21:50:41.275 +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-18 21:50:41.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.275 +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-18 21:50:41.274 +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/18 21:50:41.280 +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-18 21:50:41.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.283 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=250.675µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.285 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.285 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:41.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=36] ["take time"=2.423894ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.290 +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-18 21:50:41.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.292 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:41.292 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.293 +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/18 21:50:41.295 +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-18 21:50:41.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.295 +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-18 21:50:41.294 +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/18 21:50:41.302 +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-18 21:50:41.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.304 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=172.952µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.305 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.305 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:41.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=37] ["take time"=2.675463ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.311 +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-18 21:50:41.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.315 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:41.315 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.316 +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/18 21:50:41.320 +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-18 21:50:41.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.320 +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-18 21:50:41.318 +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/18 21:50:41.327 +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-18 21:50:41.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.332 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=515.259µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.333 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.333 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:41.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=38] ["take time"=2.935795ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.339 +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-18 21:50:41.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.346 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:41.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.347 +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/18 21:50:41.351 +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-18 21:50:41.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.351 +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-18 21:50:41.349 +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/18 21:50:41.355 +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-18 21:50:41.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.360 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=526.992µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.362 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.362 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:41.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=39] ["take time"=4.382231ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.370 +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-18 21:50:41.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.374 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:41.374 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.375 +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/18 21:50:41.379 +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-18 21:50:41.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.379 +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-18 21:50:41.377 +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/18 21:50:41.387 +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-18 21:50:41.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.394 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=684.388µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.396 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.396 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:41.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=40] ["take time"=5.031254ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.404 +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-18 21:50:41.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.408 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:41.408 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.409 +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/18 21:50:41.412 +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-18 21:50:41.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.412 +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-18 21:50:41.41 +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/18 21:50:41.418 +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-18 21:50:41.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.423 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=565.415µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.425 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.425 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:41.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=41] ["take time"=5.053578ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.433 +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-18 21:50:41.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.437 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:41.437 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.438 +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/18 21:50:41.444 +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-18 21:50:41.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.444 +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-18 21:50:41.439 +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/18 21:50:41.454 +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-18 21:50:41.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.461 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=622.879µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.462 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.462 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:41.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=42] ["take time"=4.638699ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.473 +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-18 21:50:41.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.478 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:41.478 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.478 +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/18 21:50:41.482 +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-18 21:50:41.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.482 +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-18 21:50:41.48 +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/18 21:50:41.488 +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-18 21:50:41.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.493 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=463.832µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.494 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.494 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:41.497 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.57403ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.502 +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-18 21:50:41.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.506 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:41.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.507 +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/18 21:50:41.511 +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-18 21:50:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.511 +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-18 21:50:41.509 +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/18 21:50:41.518 +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-18 21:50:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.523 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=317.571µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.524 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.524 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:41.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=44] ["take time"=2.458621ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.530 +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-18 21:50:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.534 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:41.534 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.535 +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/18 21:50:41.538 +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-18 21:50:41.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.538 +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-18 21:50:41.537 +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/18 21:50:41.545 +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-18 21:50:41.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.549 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=370.729µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.550 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.550 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:41.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=45] ["take time"=3.001562ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.556 +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-18 21:50:41.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.560 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:41.560 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.561 +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/18 21:50:41.565 +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-18 21:50:41.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.565 +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-18 21:50:41.562 +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/18 21:50:41.574 +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-18 21:50:41.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=663.763µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.580 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.580 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:41.587 +00:00] [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"=9.075319ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.593 +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-18 21:50:41.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.598 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:41.598 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.599 +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/18 21:50:41.601 +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-18 21:50:41.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.602 +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-18 21:50:41.6 +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/18 21:50:41.609 +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-18 21:50:41.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.617 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=376.967µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.618 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.618 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:41.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=47] ["take time"=2.097442ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.632 +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-18 21:50:41.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.636 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:41.636 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.636 +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/18 21:50:41.640 +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-18 21:50:41.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.640 +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-18 21:50:41.638 +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/18 21:50:41.648 +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-18 21:50:41.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.651 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=310.823µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.652 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.652 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:41.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=48] ["take time"=2.25956ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.660 +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-18 21:50:41.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.663 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:41.663 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.663 +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/18 21:50:41.666 +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-18 21:50:41.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.666 +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-18 21:50:41.665 +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/18 21:50:41.673 +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-18 21:50:41.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.676 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=309.355µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.677 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.677 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:41.677 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.214583ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.681 +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-18 21:50:41.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.684 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:41.684 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.685 +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/18 21:50:41.687 +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-18 21:50:41.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.687 +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-18 21:50:41.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:41.692 +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-18 21:50:41.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.694 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=74.654µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:41.696 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.696 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:41.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=50] ["take time"=2.325571ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:41.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.700 +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-18 21:50:41.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.704 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:41.704 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.707 +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-18 21:50:41.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.707 +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-18 21:50:41.706 +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/18 21:50:41.712 +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-18 21:50:41.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.715 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=255.625µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:41.716 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:41.716 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:41.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=51] ["take time"=2.604469ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:41.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.722 +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-18 21:50:41.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.726 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:41.726 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.767 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.658865201s] [2024/05/18 21:50:41.768 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d41b181b-280d-4b28-a166-8378d5afc1c1] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=2.843µs] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.189µs] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=852ns] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=1.037µs] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=1.119µs] [2024/05/18 21:50:41.768 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:41.768 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:41.768 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:41.771 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=d41b181b-280d-4b28-a166-8378d5afc1c1] ["take time"=3.451836ms] [2024/05/18 21:50:41.771 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=d41b181b-280d-4b28-a166-8378d5afc1c1] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:41.771 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:41.771 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:41.771 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:41.771 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:41.771 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:41.771 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:41.771 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:41.771 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.767321ms] [2024/05/18 21:50:41.771 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=2052361d-5531-4d59-a380-f3c19e467a0b] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:41.779 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:41.779 +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/18 21:50:41.810 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=31.138274ms] [2024/05/18 21:50:41.822 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:41.822 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=d852942b-9781-4f24-bafe-3bddb4880e83] [runWorker=true] [2024/05/18 21:50:41.823 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:41.823 +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/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:41.823 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:41.823 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:41.823 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:41.823 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:41.823 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:41.823 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:41.823 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:41.830 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:41.830 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:41.843 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:41.846 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:41.847 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:41.847 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:41.848 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:41.848 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:41.848 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:41.849 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:41.849 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:41.849 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:41.849 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:41.851 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:41.851 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:41.851 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:41.856 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:41.857 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/18 21:50:41.858 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="create table t1 ( n int auto_increment primary key)"] [user=] [2024/05/18 21:50:41.861 +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-18 21:50:41.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.861 +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-18 21:50:41.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 ( n int auto_increment primary key)"] [2024/05/18 21:50:41.866 +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-18 21:50:41.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.869 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=178.758µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:41.870 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:41.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=52] ["take time"=2.247234ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.875 +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-18 21:50:41.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.883 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:41.883 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.884 +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 17 near \"ca\" "] [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 17 near \"ca\" \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/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:53\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="alter table t1 ca"] [2024/05/18 21:50:41.884 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[schema:1146]Table 'test.t2' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t2' 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).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:54\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="alter table t2 cache"] [2024/05/18 21:50:41.884 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=52] [cur_db=test] [sql="alter table t1 cache"] [user=] [2024/05/18 21:50:41.896 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.896 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 cache"] [2024/05/18 21:50:41.902 +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:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.911 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=362.799µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:41.912 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/18 21:50:41.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=53] ["take time"=2.720588ms] [job="ID:106, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.917 +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:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=285.179µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:41.921 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/18 21:50:41.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=54] ["take time"=2.368306ms] [job="ID:106, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.926 +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:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.930 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/18 21:50:41.930 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.931 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=54] [cur_db=test] [sql="alter table t1 nocache"] [user=] [2024/05/18 21:50:41.933 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.933 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 nocache"] [2024/05/18 21:50:41.941 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=2] [category=ddl] [job="ID:107, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.943 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=201.737µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2024/05/18 21:50:41.944 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=55] [2024/05/18 21:50:41.946 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.845053ms] [job="ID:107, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.951 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=2] [category=ddl] [job="ID:107, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.953 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=192.869µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2024/05/18 21:50:41.954 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=56] [2024/05/18 21:50:41.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=56] ["take time"=2.792174ms] [job="ID:107, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.960 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=2] [job="ID:107, Type:alter table nocache, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.963 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:50:41.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:41.963 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/18 21:50:41.966 +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-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:41.966 +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-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/18 21:50:41.971 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=108] [conn=2] [category=ddl] [job="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.974 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=76.298µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:41.975 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=57] [2024/05/18 21:50:41.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=57] ["take time"=2.00638ms] [job="ID:108, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.979 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=108] [conn=2] [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-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.981 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=50.353µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:41.982 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=58] [2024/05/18 21:50:41.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=58] ["take time"=2.693136ms] [job="ID:108, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.987 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=108] [conn=2] [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-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.989 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=39.36µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:41.990 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=59] [2024/05/18 21:50:41.991 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.2327ms] [job="ID:108, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:41.995 +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/18 21:50:41.997 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="drop table"] [2024/05/18 21:50:41.997 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=108] [conn=2] [job="ID:108, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.000 +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/18 21:50:42.002 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/18 21:50:42.002 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.003 +00:00] [INFO] [ddl.go:1435] ["switch metadata lock feature"] [category=ddl] [enable=false] [2024/05/18 21:50:42.007 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_enable_metadata_lock] [val=0] [2024/05/18 21:50:42.007 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=test] [sql="drop table if exists t1,t2"] [user=] [2024/05/18 21:50:42.007 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=test] [sql="CREATE TABLE t1 (a int)"] [user=] [2024/05/18 21:50:42.012 +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-18 21:50:42.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.012 +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-18 21:50:42.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t1 (a int)"] [2024/05/18 21:50:42.017 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=2] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.019 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=162.963µs] [gotSchemaVersion=60] [phyTblIDs="[109]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.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=60] ["take time"=2.423365ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=60] ["take time"=2.873049ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.029 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=2] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.032 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/18 21:50:42.032 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.032 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=test] [sql="CREATE TABLE t2 (a int)"] [user=] [2024/05/18 21:50:42.035 +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-18 21:50:42.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.035 +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-18 21:50:42.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t2 (a int)"] [2024/05/18 21:50:42.040 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=2] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.042 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=173.104µs] [gotSchemaVersion=61] [phyTblIDs="[111]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.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=61] ["take time"=2.222862ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=61] ["take time"=2.540367ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.051 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=2] [job="ID:112, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.053 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/18 21:50:42.053 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.054 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=61] [cur_db=test] [sql="alter table t1 cache;"] [user=] [2024/05/18 21:50:42.057 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.057 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 cache;"] [2024/05/18 21:50:42.062 +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:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.064 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=248.166µs] [gotSchemaVersion=62] [phyTblIDs="[109]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:42.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=62] ["take time"=2.829605ms] [job="ID:113, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=62] ["take time"=2.024776ms] [job="ID:113, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.071 +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:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.075 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=439.688µs] [gotSchemaVersion=63] [phyTblIDs="[109]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:42.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=63] ["take time"=2.713972ms] [job="ID:113, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.085 +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:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.089 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/18 21:50:42.089 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.089 +00:00] [INFO] [schema_validator.go:215] ["schema of tables in the transaction are changed"] ["conflicted table IDs"="[109]"] ["transaction schema"=61] ["schema versions that changed the tables"="[62,63]"] [2024/05/18 21:50:42.089 +00:00] [WARN] [session.go:814] ["can not retry txn"] [label=general] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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).MustGetDBError\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:67\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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).MustGetDBError\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:67\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [IsBatchInsert=false] [IsPessimistic=true] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/18 21:50:42.090 +00:00] [WARN] [session.go:830] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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).MustGetDBError\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:67\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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).MustGetDBError\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:67\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/18 21:50:42.090 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=61] [error="previous statement: insert into t1 set a=1;: [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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).MustGetDBError\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:67\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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).MustGetDBError\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:67\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\nprevious statement: insert into t1 set a=1;"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:42.091 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=test] [sql="alter table t1 nocache"] [user=] [2024/05/18 21:50:42.091 +00:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=63] [txnStartTS=449857202969903104] [txnScope=global] [2024/05/18 21:50:42.094 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.094 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 nocache"] [2024/05/18 21:50:42.101 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=2] [category=ddl] [job="ID:114, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=342.754µs] [gotSchemaVersion=64] [phyTblIDs="[109]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2024/05/18 21:50:42.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=64] ["take time"=2.417645ms] [job="ID:114, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=64] ["take time"=2.16835ms] [job="ID:114, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.111 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=2] [category=ddl] [job="ID:114, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.113 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=213.728µs] [gotSchemaVersion=65] [phyTblIDs="[109]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2024/05/18 21:50:42.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=65] ["take time"=2.011354ms] [job="ID:114, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.120 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:alter table nocache, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.124 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/18 21:50:42.124 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.124 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/18 21:50:42.126 +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:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.126 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/18 21:50:42.133 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=115] [conn=2] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.135 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=83.166µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:42.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=66] ["take time"=2.702398ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=66] ["take time"=2.097062ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.148 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=115] [conn=2] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.150 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=45.695µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:42.157 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=6.817714ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.162 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=115] [conn=2] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.163 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=40.81µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:42.182 +00:00] [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"=18.96356ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.192 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[109]"] [comment="drop table: table ID"] [2024/05/18 21:50:42.194 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2024/05/18 21:50:42.195 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:42.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.198 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=1] [startKey=74800000000000006d] [endKey=74800000000000006e] [2024/05/18 21:50:42.199 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/18 21:50:42.199 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.199 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=68] [cur_db=test] [sql="CREATE TABLE t1 (a int)"] [user=] [2024/05/18 21:50:42.201 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.201 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t1 (a int)"] [2024/05/18 21:50:42.206 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=2] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.207 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=124.585µs] [gotSchemaVersion=69] [phyTblIDs="[116]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.210 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=2.723898ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=69] ["take time"=2.972179ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.217 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.226 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/18 21:50:42.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.227 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=69] [cur_db=test] [sql="alter table t2 cache"] [user=] [2024/05/18 21:50:42.230 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.230 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t2 cache"] [2024/05/18 21:50:42.236 +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:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.239 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=284.675µs] [gotSchemaVersion=70] [phyTblIDs="[111]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:42.241 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=3.002017ms] [job="ID:118, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.250 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=4.529548ms] [job="ID:118, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.251 +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:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.253 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=303.032µs] [gotSchemaVersion=71] [phyTblIDs="[111]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:42.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=71] ["take time"=2.638062ms] [job="ID:118, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.259 +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:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.261 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/18 21:50:42.261 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.262 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/18 21:50:42.262 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' 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).MustGetErrCode\n\tpkg/testkit/testkit.go:463\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:78\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="alter table t cache"] [2024/05/18 21:50:42.262 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=test] [sql="create table t (a int)"] [user=] [2024/05/18 21:50:42.265 +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-18 21:50:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.265 +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-18 21:50:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int)"] [2024/05/18 21:50:42.270 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=120] [conn=2] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.272 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=183.494µs] [gotSchemaVersion=72] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.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=72] ["take time"=2.241002ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=72] ["take time"=3.214403ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.283 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.286 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/18 21:50:42.286 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.286 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=72] [cur_db=test] [sql="alter table t cache"] [user=] [2024/05/18 21:50:42.289 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.289 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t cache"] [2024/05/18 21:50:42.296 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=2] [category=ddl] [job="ID:121, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.298 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=247.689µs] [gotSchemaVersion=73] [phyTblIDs="[119]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:42.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=3.449922ms] [job="ID:121, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=73] ["take time"=16.238225ms] [job="ID:121, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.322 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=2] [category=ddl] [job="ID:121, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.325 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=279.218µs] [gotSchemaVersion=74] [phyTblIDs="[119]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2024/05/18 21:50:42.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=74] ["take time"=2.431277ms] [job="ID:121, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.331 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.333 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/18 21:50:42.333 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.334 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=test] [sql="alter table t cache"] [user=] [2024/05/18 21:50:42.334 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=test] [sql="alter table t cache"] [user=] [2024/05/18 21:50:42.334 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=test] [sql="alter table t nocache"] [user=] [2024/05/18 21:50:42.336 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.336 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:122, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t nocache"] [2024/05/18 21:50:42.341 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=122] [conn=2] [category=ddl] [job="ID:122, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.343 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=252.021µs] [gotSchemaVersion=75] [phyTblIDs="[119]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2024/05/18 21:50:42.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=75] ["take time"=2.858613ms] [job="ID:122, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=75] ["take time"=4.498031ms] [job="ID:122, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.353 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=122] [conn=2] [category=ddl] [job="ID:122, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.370 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=220.178µs] [gotSchemaVersion=76] [phyTblIDs="[119]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2024/05/18 21:50:42.372 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=2.762932ms] [job="ID:122, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.377 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:alter table nocache, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.383 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/18 21:50:42.383 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.384 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=76] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/18 21:50:42.386 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.386 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/18 21:50:42.392 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=2] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.393 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=85.781µs] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:42.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=77] ["take time"=2.966064ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.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=77] ["take time"=2.867551ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.402 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=2] [category=ddl] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.403 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=39.37µs] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:42.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=2.277323ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.408 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=2] [category=ddl] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.410 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=40.243µs] [gotSchemaVersion=79] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:42.413 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=3.060003ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.417 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[119]"] [comment="drop table: table ID"] [2024/05/18 21:50:42.418 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2024/05/18 21:50:42.419 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:42.385 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.427 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=1] [startKey=748000000000000077] [endKey=748000000000000078] [2024/05/18 21:50:42.427 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/18 21:50:42.427 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.428 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=test] [sql="create temporary table t (id int primary key auto_increment, u int unique, v int)"] [user=] [2024/05/18 21:50:42.428 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=test] [sql="drop table if exists tmp1"] [user=] [2024/05/18 21:50:42.429 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=test] [sql="alter table t cache"] [user=] [2024/05/18 21:50:42.429 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:42.429 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=79] [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.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:90\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:42.429 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=test] [sql="create global temporary table tmp1 (id int not null primary key, code int not null, value int default null, unique key code(code))on commit delete rows"] [user=] [2024/05/18 21:50:42.431 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.431 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:126, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create global temporary table tmp1 (id int not null primary key, code int not null, value int default null, unique key code(code))on commit delete rows"] [2024/05/18 21:50:42.438 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=126] [conn=2] [category=ddl] [job="ID:126, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.440 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=265.681µs] [gotSchemaVersion=80] [phyTblIDs="[125]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=2.136988ms] [job="ID:126, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.451 +00:00] [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.583403ms] [job="ID:126, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.452 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:42.43 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.455 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=126] [2024/05/18 21:50:42.455 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.455 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=80] [cur_db=test] [sql="alter table tmp1 cache"] [user=] [2024/05/18 21:50:42.456 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:42.456 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=80] [error="[ddl:8006]`alter temporary table cache` is unsupported on temporary tables."] [errorVerbose="[ddl:8006]`alter temporary table cache` 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.(*ddl).AlterTableCache\n\tpkg/ddl/ddl_api.go:9215\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4078\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/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:474\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableCache\n\tpkg/ddl/db_cache_test.go:95\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:42.459 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d852942b-9781-4f24-bafe-3bddb4880e83] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=1.885µs] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=1.955µs] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.879µs] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=1.665µs] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=1.071µs] [2024/05/18 21:50:42.459 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:42.459 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:42.459 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:42.460 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=d852942b-9781-4f24-bafe-3bddb4880e83] ["take time"=3.762115ms] [2024/05/18 21:50:42.460 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=d852942b-9781-4f24-bafe-3bddb4880e83] [2024/05/18 21:50:42.460 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:42.460 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:42.460 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:42.460 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:42.460 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:42.460 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d852942b-9781-4f24-bafe-3bddb4880e83] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:42.461 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d852942b-9781-4f24-bafe-3bddb4880e83] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:42.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:42.461 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=5.472057ms] [2024/05/18 21:50:42.462 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:42.462 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:42.462 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:42.462 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:42.462 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:42.462 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAlterTableCache (2.40s) === RUN TestCreateDBIfNotExists [2024/05/18 21:50:42.466 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:42.467 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:42.467 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:42.467 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:42.467 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:42.468 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:42.469 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d3eb4061-99a4-4e38-992f-8467b526dea0] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:42.477 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:42.477 +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/18 21:50:42.478 +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.TestCreateDBIfNotExists\n\tpkg/ddl/db_change_test.go:1460\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:42.497 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.52395ms] [2024/05/18 21:50:42.500 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:42.500 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=95c25c3b-7616-4676-a7e7-9ff3af3b62ae] [runWorker=true] [2024/05/18 21:50:42.501 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:42.501 +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/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:42.501 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:42.501 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:42.501 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:42.501 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:42.501 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:42.502 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:42.502 +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/18 21:50:42.505 +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-18 21:50:42.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.505 +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-18 21:50:42.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:42.552 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:42.552 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:42.558 +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-18 21:50:42.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.577 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=16.479138ms] [2024/05/18 21:50:42.579 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:42.580 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.580 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:42.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=1] ["take time"=20.696619ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:42.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.586 +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-18 21:50:42.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.588 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:42.588 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.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/18 21:50:42.589 +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/18 21:50:42.594 +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-18 21:50:42.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.594 +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-18 21:50:42.591 +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/18 21:50:42.599 +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-18 21:50:42.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.607 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.135163ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.609 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.609 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:42.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=2] ["take time"=4.180448ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.616 +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-18 21:50:42.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.622 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:42.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.623 +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/18 21:50:42.626 +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-18 21:50:42.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.626 +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-18 21:50:42.624 +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/18 21:50:42.631 +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-18 21:50:42.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.634 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=302.835µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.635 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.636 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:42.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=3] ["take time"=2.244983ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.640 +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-18 21:50:42.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.644 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:42.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.644 +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/18 21:50:42.647 +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-18 21:50:42.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.647 +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-18 21:50:42.646 +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/18 21:50:42.654 +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-18 21:50:42.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.656 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=240.533µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.657 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.657 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:42.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=4] ["take time"=2.031986ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.662 +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-18 21:50:42.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.665 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:42.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.666 +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/18 21:50:42.669 +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-18 21:50:42.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.669 +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-18 21:50:42.667 +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/18 21:50:42.675 +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-18 21:50:42.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.679 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=578.538µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.681 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.681 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:42.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=5] ["take time"=2.448988ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.686 +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-18 21:50:42.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.691 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:42.691 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.692 +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/18 21:50:42.695 +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-18 21:50:42.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.695 +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-18 21:50:42.693 +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/18 21:50:42.700 +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-18 21:50:42.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.704 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=408.98µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.705 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.705 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:42.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=6] ["take time"=2.656764ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.711 +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-18 21:50:42.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.714 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:42.714 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.714 +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/18 21:50:42.717 +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-18 21:50:42.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.717 +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-18 21:50:42.715 +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/18 21:50:42.723 +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-18 21:50:42.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.726 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=366.923µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.727 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.727 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:42.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=7] ["take time"=2.387282ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.732 +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-18 21:50:42.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.736 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:42.736 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.737 +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/18 21:50:42.739 +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-18 21:50:42.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.739 +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-18 21:50:42.738 +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/18 21:50:42.746 +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-18 21:50:42.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.748 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=214.986µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.749 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.749 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:42.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"=3.708231ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.760 +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-18 21:50:42.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.763 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:42.764 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.764 +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/18 21:50:42.766 +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-18 21:50:42.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.766 +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-18 21:50:42.765 +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/18 21:50:42.771 +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-18 21:50:42.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.774 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=256.65µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.775 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.775 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:42.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=9] ["take time"=2.968923ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.780 +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-18 21:50:42.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.784 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:42.784 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.784 +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/18 21:50:42.787 +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-18 21:50:42.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.787 +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-18 21:50:42.786 +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/18 21:50:42.793 +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-18 21:50:42.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.796 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=326.694µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.797 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.797 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:42.798 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.571069ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.802 +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-18 21:50:42.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.806 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:42.806 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.806 +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/18 21:50:42.810 +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-18 21:50:42.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.810 +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-18 21:50:42.809 +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/18 21:50:42.816 +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-18 21:50:42.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.819 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=300.495µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.820 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.820 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:42.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=11] ["take time"=3.028041ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.826 +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-18 21:50:42.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.829 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:42.829 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.830 +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/18 21:50:42.830 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:42.833 +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-18 21:50:42.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.833 +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-18 21:50:42.831 +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/18 21:50:42.838 +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-18 21:50:42.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.843 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=453.658µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.844 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.844 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:42.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=12] ["take time"=2.394359ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.850 +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-18 21:50:42.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.854 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:42.854 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.854 +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/18 21:50:42.857 +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-18 21:50:42.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.858 +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-18 21:50:42.856 +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/18 21:50:42.865 +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-18 21:50:42.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.869 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=401.189µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.870 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.870 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:42.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=3.041536ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.876 +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-18 21:50:42.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.880 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:42.880 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.880 +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/18 21:50:42.882 +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-18 21:50:42.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.882 +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-18 21:50:42.881 +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/18 21:50:42.889 +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-18 21:50:42.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.891 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=200.892µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.892 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.892 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:42.893 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.346204ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.897 +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-18 21:50:42.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.899 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:42.899 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.900 +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/18 21:50:42.902 +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-18 21:50:42.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.902 +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-18 21:50:42.901 +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/18 21:50:42.910 +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-18 21:50:42.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.912 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=302.818µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.914 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.914 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:42.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=15] ["take time"=2.377207ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.919 +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-18 21:50:42.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.923 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:42.923 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.923 +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/18 21:50:42.926 +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-18 21:50:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.926 +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-18 21:50:42.924 +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/18 21:50:42.931 +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-18 21:50:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.934 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=287.933µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.935 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.935 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:42.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=16] ["take time"=2.555706ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.940 +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-18 21:50:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.942 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:42.943 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.943 +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/18 21:50:42.945 +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-18 21:50:42.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.945 +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-18 21:50:42.944 +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/18 21:50:42.951 +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-18 21:50:42.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.953 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=299.634µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.955 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.955 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:42.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=17] ["take time"=2.312435ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.960 +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-18 21:50:42.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.963 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:42.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.963 +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/18 21:50:42.966 +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-18 21:50:42.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.966 +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-18 21:50:42.965 +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/18 21:50:42.972 +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-18 21:50:42.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.975 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=307.145µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.976 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.976 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:42.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=18] ["take time"=2.344745ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.981 +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-18 21:50:42.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.984 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:42.984 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:42.985 +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/18 21:50:42.987 +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-18 21:50:42.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:42.987 +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-18 21:50:42.986 +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/18 21:50:42.993 +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-18 21:50:42.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:42.997 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=493.383µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:42.998 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:42.998 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:42.998 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.033328ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:42.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.002 +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-18 21:50:42.986 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:43.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.010 +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/18 21:50:43.014 +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-18 21:50:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.014 +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-18 21:50:43.011 +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/18 21:50:43.021 +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-18 21:50:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.024 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=334.282µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.025 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.025 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:43.026 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.457488ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.032 +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-18 21:50:43.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.036 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:43.036 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.036 +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/18 21:50:43.039 +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-18 21:50:43.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.039 +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-18 21:50:43.037 +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/18 21:50:43.048 +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-18 21:50:43.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.051 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=232.037µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.053 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.053 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:43.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=21] ["take time"=2.101277ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.059 +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-18 21:50:43.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.065 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:43.065 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.066 +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/18 21:50:43.068 +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-18 21:50:43.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.068 +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-18 21:50:43.067 +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/18 21:50:43.074 +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-18 21:50:43.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.077 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=200.228µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.078 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.078 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50: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=22] ["take time"=2.541299ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.084 +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-18 21:50:43.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.087 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:43.087 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.088 +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/18 21:50:43.090 +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-18 21:50:43.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.090 +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-18 21:50:43.089 +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/18 21:50:43.098 +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-18 21:50:43.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.102 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=610.908µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.103 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.103 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:43.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=23] ["take time"=4.638215ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.112 +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-18 21:50:43.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:43.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.116 +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/18 21:50:43.118 +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-18 21:50:43.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.118 +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-18 21:50:43.117 +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/18 21:50:43.124 +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-18 21:50:43.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.127 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=206.283µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.128 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.128 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:43.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=24] ["take time"=2.249313ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.134 +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-18 21:50:43.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.138 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:43.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.138 +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/18 21:50:43.141 +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-18 21:50:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.141 +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-18 21:50:43.14 +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/18 21:50:43.146 +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-18 21:50:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.149 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=311.569µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.150 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.150 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:43.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=25] ["take time"=2.208593ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.155 +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-18 21:50:43.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.158 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:43.158 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.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/18 21:50:43.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-18 21:50:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.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-18 21:50:43.16 +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/18 21:50:43.168 +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-18 21:50:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.171 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=187.381µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.172 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.172 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:43.173 +00:00] [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.984214ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.178 +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-18 21:50:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.181 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:43.181 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.181 +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/18 21:50:43.184 +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-18 21:50:43.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.184 +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-18 21:50:43.182 +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/18 21:50:43.191 +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-18 21:50:43.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.197 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=314.118µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.198 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.198 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:43.200 +00:00] [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.957719ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.204 +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-18 21:50:43.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.207 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:43.207 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.207 +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/18 21:50:43.209 +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-18 21:50:43.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.209 +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-18 21:50:43.208 +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/18 21:50:43.217 +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-18 21:50:43.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.219 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=197.113µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.220 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.220 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:43.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=28] ["take time"=2.242517ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.225 +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-18 21:50:43.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.228 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:43.228 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.228 +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/18 21:50:43.229 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:43.231 +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-18 21:50:43.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.231 +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-18 21:50:43.23 +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/18 21:50:43.236 +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-18 21:50:43.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.239 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=334.04µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.241 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.241 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:43.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=29] ["take time"=4.948637ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.249 +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-18 21:50:43.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.252 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:43.252 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.253 +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/18 21:50:43.255 +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-18 21:50:43.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.255 +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-18 21:50:43.254 +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/18 21:50:43.264 +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-18 21:50:43.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.267 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=367.04µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.268 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.268 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:43.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=30] ["take time"=2.659664ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.274 +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-18 21:50:43.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.277 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:43.277 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.278 +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/18 21:50:43.281 +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-18 21:50:43.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.281 +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-18 21:50:43.279 +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/18 21:50:43.288 +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-18 21:50:43.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.290 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=333.27µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.291 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.291 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:43.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=31] ["take time"=2.94233ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.297 +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-18 21:50:43.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.300 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:43.300 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.301 +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/18 21:50:43.304 +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-18 21:50:43.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.304 +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-18 21:50:43.302 +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/18 21:50:43.309 +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-18 21:50:43.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.315 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=463.181µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.316 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.316 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:43.317 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.705948ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.321 +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-18 21:50:43.302 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.324 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:43.324 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.325 +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/18 21:50:43.327 +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-18 21:50:43.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.327 +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-18 21:50:43.326 +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/18 21:50:43.334 +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-18 21:50:43.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.336 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=175.94µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.337 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.337 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:43.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=33] ["take time"=2.259171ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.342 +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-18 21:50:43.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.345 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:43.345 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.348 +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-18 21:50:43.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.348 +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-18 21:50:43.346 +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/18 21:50:43.353 +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-18 21:50:43.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.356 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=295.38µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:43.357 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.357 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:43.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=34] ["take time"=2.048621ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:43.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.362 +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-18 21:50:43.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.365 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:43.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.365 +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/18 21:50:43.368 +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-18 21:50:43.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.368 +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-18 21:50:43.367 +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/18 21:50:43.373 +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-18 21:50:43.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.376 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=218.276µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.377 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.377 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:43.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.544695ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.382 +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-18 21:50:43.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.385 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:43.385 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.385 +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/18 21:50:43.387 +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-18 21:50:43.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.387 +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-18 21:50:43.386 +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/18 21:50:43.395 +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-18 21:50:43.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.397 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=212.025µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.398 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.398 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:43.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=36] ["take time"=2.27143ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.404 +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-18 21:50:43.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.407 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:43.407 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.407 +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/18 21:50:43.409 +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-18 21:50:43.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.409 +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-18 21:50:43.408 +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/18 21:50:43.413 +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-18 21:50:43.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.415 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=172.103µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.416 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.416 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:43.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=37] ["take time"=2.064152ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.422 +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-18 21:50:43.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.425 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:43.425 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.426 +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/18 21:50:43.429 +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-18 21:50:43.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.429 +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-18 21:50:43.427 +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/18 21:50:43.434 +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-18 21:50:43.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.438 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=364.537µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.439 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.439 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:43.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.401377ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.445 +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-18 21:50:43.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.449 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:43.449 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.449 +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/18 21:50:43.452 +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-18 21:50:43.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.452 +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-18 21:50:43.451 +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/18 21:50:43.458 +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-18 21:50:43.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.463 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=537.489µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.464 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.464 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:43.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=39] ["take time"=4.538143ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.471 +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-18 21:50:43.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.475 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:43.475 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.476 +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/18 21:50:43.479 +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-18 21:50:43.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.479 +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-18 21:50:43.477 +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/18 21:50:43.484 +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-18 21:50:43.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.489 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=545.398µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.490 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.490 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:43.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=40] ["take time"=2.113035ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.495 +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-18 21:50:43.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.499 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:43.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.499 +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/18 21:50:43.502 +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/18 21:50:43.502 +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-18 21:50:43.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.503 +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-18 21:50:43.5 +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/18 21:50:43.507 +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-18 21:50:43.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.510 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=386.634µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.511 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.511 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:43.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=41] ["take time"=2.022923ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.516 +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-18 21:50:43.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.519 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:43.519 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.520 +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/18 21:50:43.523 +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-18 21:50:43.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.523 +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-18 21:50:43.521 +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/18 21:50:43.528 +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-18 21:50:43.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.532 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=372.136µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.533 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.533 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:43.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=42] ["take time"=2.132391ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.538 +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-18 21:50:43.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.542 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:43.542 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.542 +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/18 21:50:43.546 +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-18 21:50:43.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.546 +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-18 21:50:43.544 +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/18 21:50:43.552 +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-18 21:50:43.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.555 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=374.307µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.556 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.556 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:43.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=43] ["take time"=2.820187ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.562 +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-18 21:50:43.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.565 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:43.565 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.566 +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/18 21:50:43.568 +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-18 21:50:43.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.568 +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-18 21:50:43.567 +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/18 21:50:43.574 +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-18 21:50:43.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.577 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=282.03µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.578 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.578 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:43.579 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.440586ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.583 +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-18 21:50:43.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.586 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:43.586 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.587 +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/18 21:50:43.589 +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-18 21:50:43.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.589 +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-18 21:50:43.588 +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/18 21:50:43.596 +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-18 21:50:43.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.599 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=386.803µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.600 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.600 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:43.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=45] ["take time"=2.856992ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.610 +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-18 21:50:43.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.613 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:43.613 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.613 +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/18 21:50:43.616 +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-18 21:50:43.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.616 +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-18 21:50:43.615 +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/18 21:50:43.621 +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-18 21:50:43.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.626 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=561.137µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.627 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.627 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:43.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=46] ["take time"=2.021896ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.631 +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-18 21:50:43.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.635 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:43.635 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.636 +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/18 21:50:43.638 +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-18 21:50:43.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.638 +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-18 21:50:43.637 +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/18 21:50:43.643 +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-18 21:50:43.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.646 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=288.958µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.647 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.647 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:43.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=47] ["take time"=2.856835ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.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-18 21:50:43.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.655 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:43.655 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.655 +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/18 21:50:43.658 +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-18 21:50:43.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.658 +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-18 21:50:43.657 +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/18 21:50:43.666 +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-18 21:50:43.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.669 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=285.872µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.670 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.670 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:43.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=48] ["take time"=2.210151ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.675 +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-18 21:50:43.657 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.678 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:43.678 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.678 +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/18 21:50:43.681 +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-18 21:50:43.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.681 +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-18 21:50:43.68 +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/18 21:50:43.687 +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-18 21:50:43.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.690 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=312.219µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:43.692 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.692 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:43.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=49] ["take time"=2.624402ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:43.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.698 +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-18 21:50:43.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.701 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:43.701 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.701 +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/18 21:50:43.703 +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-18 21:50:43.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.703 +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-18 21:50:43.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:43.709 +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-18 21:50:43.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.711 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=69.445µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:43.712 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.712 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:43.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=50] ["take time"=2.010649ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.718 +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-18 21:50:43.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.721 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:43.721 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.724 +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-18 21:50:43.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.724 +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-18 21:50:43.723 +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/18 21:50:43.731 +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-18 21:50:43.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.734 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=239.352µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:43.735 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:43.735 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:43.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=51] ["take time"=2.345869ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:43.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.740 +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-18 21:50:43.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.743 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:43.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.773 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.272045016s] [2024/05/18 21:50:43.773 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=95c25c3b-7616-4676-a7e7-9ff3af3b62ae] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=1.772µs] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=1.101µs] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=1.196µs] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=1.458µs] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=954ns] [2024/05/18 21:50:43.773 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:43.773 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:43.773 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:43.776 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=95c25c3b-7616-4676-a7e7-9ff3af3b62ae] ["take time"=2.939935ms] [2024/05/18 21:50:43.776 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=95c25c3b-7616-4676-a7e7-9ff3af3b62ae] [2024/05/18 21:50:43.776 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:43.776 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:43.776 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:43.776 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:43.776 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:43.776 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:43.776 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:43.776 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.173093ms] [2024/05/18 21:50:43.776 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d3eb4061-99a4-4e38-992f-8467b526dea0] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:43.782 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:43.782 +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/18 21:50:43.805 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=22.863017ms] [2024/05/18 21:50:43.815 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:43.815 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=02a00ad5-e735-4c7d-8b28-177dd464957d] [runWorker=true] [2024/05/18 21:50:43.815 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:43.815 +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/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:43.815 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:43.815 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:43.815 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:43.815 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:43.815 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:43.815 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:43.816 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:43.822 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:43.822 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:43.833 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:43.836 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:43.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:43.837 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:43.838 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:43.838 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:43.838 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:43.839 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:43.839 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:43.839 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:43.839 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:43.843 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:43.843 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:43.843 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:43.844 +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/18 21:50:43.846 +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-18 21:50:43.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.846 +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-18 21:50:43.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_state default charset utf8 default collate utf8_bin"] [2024/05/18 21:50:43.852 +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-18 21:50:43.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.853 +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/18 21:50:43.865 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=11.28401ms] [2024/05/18 21:50:43.865 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:43.866 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:43.867 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=14.101988ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.871 +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-18 21:50:43.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.873 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:43.874 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.878 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:43.879 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=52] [cur_db=test_db_state] [sql="create database if not exists test_not_exists"] [user=] [2024/05/18 21:50:43.879 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=52] [cur_db=test_db_state] [sql="create database if not exists test_not_exists"] [user=] [2024/05/18 21:50:43.881 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.881 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_not_exists"] [2024/05/18 21:50:43.882 +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:107, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.882 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:create schema, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_not_exists"] [2024/05/18 21:50:43.885 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:108, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.885 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.885 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:108, Type:create schema, State:done, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.886 +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/18 21:50:43.912 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=26.038629ms] [2024/05/18 21:50:43.922 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:43.923 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=53] [2024/05/18 21:50:43.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=53] ["take time"=39.013649ms] [job="ID:108, Type:create schema, State:done, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.926 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:108, Type:create schema, State:done, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.940 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [job="ID:108, Type:create schema, State:synced, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.942 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/18 21:50:43.942 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:43.943 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:108, Type:create schema, State:synced, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:43.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.947 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:109, Type:create schema, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:43.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.947 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=5] [category=ddl] [job="ID:109, Type:create schema, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:43.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.947 +00:00] [INFO] [ddl_worker.go:1168] ["DDL job is cancelled normally"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=5] [error="[schema:1007]Can't create database 'test_not_exists'; database exists"] [errorVerbose="[schema:1007]Can't create database 'test_not_exists'; database exists\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkSchemaNotExistsFromInfoSchema\n\tpkg/ddl/schema.go:88\ngithub.com/pingcap/tidb/pkg/ddl.checkSchemaNotExists\n\tpkg/ddl/schema.go:80\ngithub.com/pingcap/tidb/pkg/ddl.onCreateSchema\n\tpkg/ddl/schema.go:41\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1246\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/18 21:50:43.947 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:109, Type:create schema, State:cancelled, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.881 +0000 UTC, Err:[schema:1007]Can't create database 'test_not_exists'; database exists, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.947 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=5] [job="ID:109, Type:create schema, State:cancelled, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.881 +0000 UTC, Err:[schema:1007]Can't create database 'test_not_exists'; database exists, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:43.949 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=109] [2024/05/18 21:50:43.950 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=02a00ad5-e735-4c7d-8b28-177dd464957d] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=2.593µs] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=1.258µs] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=1.245µs] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=1.117µs] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=1.027µs] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:43.950 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:43.950 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=02a00ad5-e735-4c7d-8b28-177dd464957d] ["take time"=672.672µs] [2024/05/18 21:50:43.950 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=02a00ad5-e735-4c7d-8b28-177dd464957d] [2024/05/18 21:50:43.950 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:43.950 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:43.950 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:43.950 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:43.950 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:43.950 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:43.950 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:43.950 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:43.951 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=02a00ad5-e735-4c7d-8b28-177dd464957d] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=02a00ad5-e735-4c7d-8b28-177dd464957d] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:43.951 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:43.951 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:43.951 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:43.951 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:43.952 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.149211ms] [2024/05/18 21:50:43.952 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:43.953 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:43.953 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:43.953 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:43.953 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:43.953 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCreateDBIfNotExists (1.49s) === RUN TestSqlFunctionsInGeneratedColumns [2024/05/18 21:50:43.956 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:43.956 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:43.956 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:43.956 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:43.957 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:43.957 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:43.958 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=66d5c53a-fc35-4f75-8f78-15a15af6b0ac] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:43.964 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/18 21:50:43.964 +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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:43.978 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=13.381092ms] [2024/05/18 21:50:43.979 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:43.979 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=d718ae2b-1d01-45ff-a21a-a96afff48689] [runWorker=true] [2024/05/18 21:50:43.980 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:43.980 +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/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:43.980 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:43.980 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:43.980 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:43.980 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:43.980 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:43.980 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:43.980 +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/18 21:50:43.982 +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-18 21:50:43.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:43.982 +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-18 21:50:43.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:43.987 +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-18 21:50:43.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.008 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=18.786022ms] [2024/05/18 21:50:44.010 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:44.012 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.012 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:44.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=1] ["take time"=24.657378ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:43.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.019 +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-18 21:50:43.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.021 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:44.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.021 +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/18 21:50:44.022 +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/18 21:50:44.026 +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-18 21:50:44.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.026 +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-18 21:50:44.023 +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/18 21:50:44.031 +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-18 21:50:44.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.040 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.302332ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.041 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.041 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:44.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=2] ["take time"=4.133065ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.047 +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-18 21:50:44.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.053 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:44.053 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.053 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.054 +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/18 21:50:44.057 +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-18 21:50:44.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.057 +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-18 21:50:44.055 +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/18 21:50:44.062 +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-18 21:50:44.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.064 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=267.932µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.066 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.066 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:44.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=3] ["take time"=2.893306ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.071 +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-18 21:50:44.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.073 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:44.073 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.074 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.074 +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/18 21:50:44.076 +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-18 21:50:44.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.076 +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-18 21:50:44.075 +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/18 21:50:44.082 +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-18 21:50:44.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.084 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=192.335µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.085 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.085 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:44.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=4] ["take time"=2.466309ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.090 +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-18 21:50:44.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.093 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:44.093 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.094 +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/18 21:50:44.098 +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-18 21:50:44.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.098 +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-18 21:50:44.095 +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/18 21:50:44.103 +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-18 21:50:44.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.107 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=501.415µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.108 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.109 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:44.109 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.215716ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.114 +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-18 21:50:44.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.118 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:44.119 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.119 +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/18 21:50:44.122 +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-18 21:50:44.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.122 +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-18 21:50:44.121 +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/18 21:50:44.128 +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-18 21:50:44.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.131 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=388.574µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.132 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.132 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:44.134 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=3.035363ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.138 +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-18 21:50:44.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.141 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:44.141 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.142 +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/18 21:50:44.144 +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-18 21:50:44.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.144 +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-18 21:50:44.143 +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/18 21:50:44.149 +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-18 21:50:44.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.152 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=448.685µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.153 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.153 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:44.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=7] ["take time"=2.439699ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.157 +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-18 21:50:44.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.160 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:44.160 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.160 +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/18 21:50:44.163 +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-18 21:50:44.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.163 +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-18 21:50:44.162 +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/18 21:50:44.169 +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-18 21:50:44.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.171 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=222.276µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.172 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.172 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:44.173 +00:00] [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.269558ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.177 +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-18 21:50:44.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.179 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:44.179 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.180 +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/18 21:50:44.182 +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-18 21:50:44.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.182 +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-18 21:50:44.181 +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/18 21:50:44.188 +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-18 21:50:44.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.190 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=186.064µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.191 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:44.192 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.483117ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.200 +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-18 21:50:44.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.202 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:44.202 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.203 +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/18 21:50:44.205 +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-18 21:50:44.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.205 +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-18 21:50:44.204 +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/18 21:50:44.211 +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-18 21:50:44.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.213 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=240.727µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.214 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.214 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:44.215 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.042121ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.219 +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-18 21:50:44.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.222 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:44.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.222 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.222 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.222 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.222 +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/18 21:50:44.225 +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-18 21:50:44.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.225 +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-18 21:50:44.224 +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/18 21:50:44.230 +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-18 21:50:44.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.233 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=260.072µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.234 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.234 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:44.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=11] ["take time"=2.18454ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.238 +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-18 21:50:44.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.241 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:44.241 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.242 +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/18 21:50:44.242 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.245 +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-18 21:50:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.245 +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-18 21:50:44.243 +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/18 21:50:44.250 +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-18 21:50:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.255 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=472.123µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.256 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.256 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:44.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=12] ["take time"=2.38365ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.261 +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-18 21:50:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.264 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:44.264 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.265 +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/18 21:50:44.267 +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-18 21:50:44.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.268 +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-18 21:50:44.266 +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/18 21:50:44.272 +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-18 21:50:44.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.276 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=407.441µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.277 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.277 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:44.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=13] ["take time"=3.051139ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.282 +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-18 21:50:44.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.286 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:44.286 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.286 +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/18 21:50:44.288 +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-18 21:50:44.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.288 +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-18 21:50:44.287 +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/18 21:50:44.295 +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-18 21:50:44.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.299 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=252.708µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.300 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.300 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:44.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.867701ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.306 +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-18 21:50:44.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.309 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:44.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.309 +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/18 21:50:44.312 +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-18 21:50:44.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.312 +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-18 21:50:44.311 +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/18 21:50:44.316 +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-18 21:50:44.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.319 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=240.029µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.320 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.320 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:44.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=15] ["take time"=2.016529ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.325 +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-18 21:50:44.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.328 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:44.328 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.328 +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/18 21:50:44.330 +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-18 21:50:44.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.330 +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-18 21:50:44.329 +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/18 21:50:44.336 +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-18 21:50:44.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.339 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=224.775µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.339 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.339 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:44.340 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.199808ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.344 +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-18 21:50:44.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.347 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:44.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.347 +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/18 21:50:44.350 +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-18 21:50:44.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.350 +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-18 21:50:44.348 +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/18 21:50:44.356 +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-18 21:50:44.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.359 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=325.259µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.360 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.360 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:44.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=17] ["take time"=2.951696ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.366 +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-18 21:50:44.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.369 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:44.369 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.370 +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/18 21:50:44.372 +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-18 21:50:44.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.372 +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-18 21:50:44.371 +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/18 21:50:44.378 +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-18 21:50:44.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.381 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=251.2µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.382 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.382 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:44.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=18] ["take time"=2.013415ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.386 +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-18 21:50:44.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.389 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:44.389 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.389 +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/18 21:50:44.392 +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-18 21:50:44.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.393 +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-18 21:50:44.39 +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/18 21:50:44.399 +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-18 21:50:44.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.403 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=448.908µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.405 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.405 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:44.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.101271ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.411 +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-18 21:50:44.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.414 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:44.414 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.415 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.415 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.415 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.415 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.415 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.415 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.416 +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/18 21:50:44.419 +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-18 21:50:44.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.419 +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-18 21:50:44.418 +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/18 21:50:44.424 +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-18 21:50:44.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.427 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=317.922µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.429 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.429 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:44.430 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.616819ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.438 +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-18 21:50:44.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.441 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:44.441 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.442 +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/18 21:50:44.444 +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-18 21:50:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.444 +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-18 21:50:44.443 +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/18 21:50:44.451 +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-18 21:50:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.453 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=232.148µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.454 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.454 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:44.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=21] ["take time"=2.144454ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.459 +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-18 21:50:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.462 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:44.463 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.463 +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/18 21:50:44.466 +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-18 21:50:44.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.466 +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-18 21:50:44.464 +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/18 21:50:44.472 +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-18 21:50:44.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.474 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=186.243µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.475 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.475 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:44.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=22] ["take time"=2.323823ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.481 +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-18 21:50:44.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.484 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:44.484 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.485 +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/18 21:50:44.487 +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-18 21:50:44.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.487 +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-18 21:50:44.486 +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/18 21:50:44.495 +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-18 21:50:44.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.500 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=431.016µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.501 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.501 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:44.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=23] ["take time"=3.080811ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.508 +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-18 21:50:44.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.512 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:44.512 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.512 +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/18 21:50:44.515 +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-18 21:50:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.515 +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-18 21:50:44.514 +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/18 21:50:44.522 +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-18 21:50:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.525 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=253.734µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.526 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.526 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:44.527 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.151531ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.532 +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-18 21:50:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.535 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:44.535 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.535 +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/18 21:50:44.539 +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-18 21:50:44.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.539 +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-18 21:50:44.537 +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/18 21:50:44.544 +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-18 21:50:44.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.546 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=239.567µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.548 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.548 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:44.548 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.063205ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.555 +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-18 21:50:44.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.559 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:44.559 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.559 +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/18 21:50:44.562 +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-18 21:50:44.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.562 +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-18 21:50:44.561 +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/18 21:50:44.567 +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-18 21:50:44.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.571 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=287.68µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.572 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.573 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:44.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=26] ["take time"=2.507563ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.578 +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-18 21:50:44.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.585 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:44.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.586 +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/18 21:50:44.589 +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-18 21:50:44.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.589 +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-18 21:50:44.587 +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/18 21:50:44.603 +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-18 21:50:44.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.607 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=302.397µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.608 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.608 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:44.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=27] ["take time"=2.08533ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.617 +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-18 21:50:44.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.621 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:44.621 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.621 +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/18 21:50:44.624 +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-18 21:50:44.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.624 +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-18 21:50:44.623 +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/18 21:50:44.630 +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-18 21:50:44.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.633 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=264.411µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.635 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.635 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:44.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=28] ["take time"=2.956977ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.640 +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-18 21:50:44.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.644 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:44.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.645 +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/18 21:50:44.645 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.648 +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-18 21:50:44.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.648 +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-18 21:50:44.646 +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/18 21:50:44.654 +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-18 21:50:44.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.657 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=307.393µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.659 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.659 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:44.660 +00:00] [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.786287ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.666 +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-18 21:50:44.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.669 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:44.669 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.670 +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/18 21:50:44.685 +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-18 21:50:44.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.685 +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-18 21:50:44.671 +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/18 21:50:44.689 +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-18 21:50:44.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.693 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=386.144µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.694 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.694 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:44.695 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.575733ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.700 +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-18 21:50:44.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.703 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:44.703 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.703 +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/18 21:50:44.706 +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-18 21:50:44.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.706 +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-18 21:50:44.705 +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/18 21:50:44.713 +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-18 21:50:44.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.716 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=419.8µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.717 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.717 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:44.718 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.344979ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.723 +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-18 21:50:44.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.730 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:44.730 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.730 +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/18 21:50:44.734 +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-18 21:50:44.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.734 +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-18 21:50:44.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/18 21:50:44.738 +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-18 21:50:44.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.743 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=569.541µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.744 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.744 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:44.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=32] ["take time"=2.03698ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.749 +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-18 21:50:44.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.754 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:44.754 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.754 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.754 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.755 +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/18 21:50:44.758 +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-18 21:50:44.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.758 +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-18 21:50:44.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/18 21:50:44.764 +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-18 21:50:44.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.767 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=223.591µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.768 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.768 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:44.769 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.767531ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.773 +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-18 21:50:44.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.777 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:44.777 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.782 +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-18 21:50:44.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.782 +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-18 21:50:44.78 +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/18 21:50:44.788 +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-18 21:50:44.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.792 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=438.4µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:44.793 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.794 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:44.796 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=4.683432ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:44.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.801 +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-18 21:50:44.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.805 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:44.805 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.805 +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/18 21:50:44.808 +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-18 21:50:44.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.808 +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-18 21:50:44.807 +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/18 21:50:44.815 +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-18 21:50:44.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.818 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=256.693µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.819 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.819 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:44.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.182402ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.825 +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-18 21:50:44.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.828 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:44.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.828 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.829 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.829 +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/18 21:50:44.831 +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-18 21:50:44.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.831 +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-18 21:50:44.83 +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/18 21:50:44.838 +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-18 21:50:44.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.841 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=271.321µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.842 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.842 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:44.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=36] ["take time"=2.017247ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.847 +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-18 21:50:44.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.851 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:44.851 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.851 +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/18 21:50:44.854 +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-18 21:50:44.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.854 +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-18 21:50:44.853 +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/18 21:50:44.862 +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-18 21:50:44.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.866 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=294.282µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.867 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.867 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:44.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=37] ["take time"=2.306154ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.873 +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-18 21:50:44.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.876 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:44.876 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.877 +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/18 21:50:44.880 +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-18 21:50:44.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.880 +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-18 21:50:44.878 +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/18 21:50:44.887 +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-18 21:50:44.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.892 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=623.17µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.893 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.893 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:44.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=38] ["take time"=4.057169ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.900 +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-18 21:50:44.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.904 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:44.904 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.904 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.904 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.904 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.905 +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/18 21:50:44.908 +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-18 21:50:44.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.908 +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-18 21:50:44.906 +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/18 21:50:44.915 +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-18 21:50:44.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=467.65µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.920 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.920 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:44.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=39] ["take time"=4.866263ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.929 +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-18 21:50:44.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.937 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:44.937 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.937 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.938 +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/18 21:50:44.942 +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-18 21:50:44.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.942 +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-18 21:50:44.94 +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/18 21:50:44.948 +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-18 21:50:44.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.953 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=546.426µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.955 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.955 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:44.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=40] ["take time"=5.476906ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.965 +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-18 21:50:44.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.969 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:44.969 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.970 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:44.970 +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/18 21:50:44.974 +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-18 21:50:44.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:44.974 +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-18 21:50:44.972 +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/18 21:50:44.979 +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-18 21:50:44.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.980 +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/18 21:50:44.980 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:44.984 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=588.312µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:44.986 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:44.986 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:44.988 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.459252ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:44.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.993 +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-18 21:50:44.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:44.998 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:44.998 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:44.999 +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/18 21:50:45.002 +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-18 21:50:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.002 +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-18 21:50:45 +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/18 21:50:45.008 +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-18 21:50:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.013 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=601.54µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.014 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.014 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:45.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=42] ["take time"=4.020616ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.022 +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-18 21:50:45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.026 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:45.026 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.027 +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/18 21:50:45.032 +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-18 21:50:45.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.032 +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-18 21:50:45.028 +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/18 21:50:45.036 +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-18 21:50:45.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.041 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=459.852µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.042 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.042 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:45.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=43] ["take time"=2.121429ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.047 +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-18 21:50:45.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.052 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:45.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.052 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.053 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.053 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.053 +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/18 21:50:45.056 +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-18 21:50:45.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.056 +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-18 21:50:45.054 +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/18 21:50:45.062 +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-18 21:50:45.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.066 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=423.373µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.068 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.068 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:45.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=44] ["take time"=4.046341ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.075 +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-18 21:50:45.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.082 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:45.082 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.082 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.083 +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/18 21:50:45.087 +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-18 21:50:45.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.087 +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-18 21:50:45.085 +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/18 21:50:45.095 +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-18 21:50:45.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.098 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=373.171µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.099 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.099 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:45.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=45] ["take time"=2.021324ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.104 +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-18 21:50:45.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.108 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:45.108 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.108 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.108 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.108 +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/18 21:50:45.112 +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-18 21:50:45.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.112 +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-18 21:50:45.11 +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/18 21:50:45.119 +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-18 21:50:45.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.123 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=643.841µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.125 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.125 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:45.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=5.417672ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.134 +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-18 21:50:45.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.139 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:45.139 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.139 +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/18 21:50:45.142 +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-18 21:50:45.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.142 +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-18 21:50:45.141 +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/18 21:50:45.148 +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-18 21:50:45.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.151 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=312.09µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.153 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.153 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:45.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.262879ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.158 +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-18 21:50:45.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.162 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:45.162 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.162 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.162 +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/18 21:50:45.165 +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-18 21:50:45.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.165 +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-18 21:50:45.164 +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/18 21:50:45.171 +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-18 21:50:45.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=307.966µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.176 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:45.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=48] ["take time"=2.33818ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.180 +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-18 21:50:45.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.183 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:45.183 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.184 +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/18 21:50:45.186 +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-18 21:50:45.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.186 +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-18 21:50:45.185 +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/18 21:50:45.195 +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-18 21:50:45.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.198 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=271.364µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.199 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.199 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:45.200 +00:00] [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.30721ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.206 +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-18 21:50:45.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.209 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:45.209 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.209 +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/18 21:50:45.212 +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-18 21:50:45.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.212 +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-18 21:50:45.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:45.218 +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-18 21:50:45.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.220 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=62.517µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:45.221 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.221 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:45.222 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.737273ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:45.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.226 +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-18 21:50:45.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.228 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:45.229 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.232 +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-18 21:50:45.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.232 +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-18 21:50:45.231 +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/18 21:50:45.241 +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-18 21:50:45.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.244 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=261.823µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:45.245 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.245 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:45.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=51] ["take time"=4.206191ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:45.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.255 +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-18 21:50:45.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.258 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:45.259 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.301 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.321415466s] [2024/05/18 21:50:45.301 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d718ae2b-1d01-45ff-a21a-a96afff48689] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:45.301 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:45.302 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=1.697µs] [2024/05/18 21:50:45.302 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=1.171µs] [2024/05/18 21:50:45.302 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=1.113µs] [2024/05/18 21:50:45.302 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=1.212µs] [2024/05/18 21:50:45.302 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:45.302 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=1.104µs] [2024/05/18 21:50:45.302 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:45.302 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:45.302 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:45.305 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=d718ae2b-1d01-45ff-a21a-a96afff48689] ["take time"=3.142531ms] [2024/05/18 21:50:45.305 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=d718ae2b-1d01-45ff-a21a-a96afff48689] [2024/05/18 21:50:45.305 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:45.305 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:45.305 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:45.305 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:45.305 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:45.305 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:45.305 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:45.305 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:45.305 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:45.305 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:45.305 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:45.305 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.360451ms] [2024/05/18 21:50:45.305 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=66d5c53a-fc35-4f75-8f78-15a15af6b0ac] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:45.314 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/18 21:50:45.344 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=29.780872ms] [2024/05/18 21:50:45.355 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:45.355 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=d77f1da7-81c7-4693-8fb7-a9d7a9865f74] [runWorker=true] [2024/05/18 21:50:45.357 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:45.357 +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/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:45.357 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:45.357 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:45.357 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:45.357 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:45.357 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:45.357 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:45.364 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:45.364 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:45.376 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:45.379 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:45.380 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:45.381 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:45.381 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:45.381 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:45.381 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:45.382 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:45.382 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:45.384 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:45.384 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:45.384 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:45.386 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:45.386 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:45.390 +00:00] [INFO] [set.go:170] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:45.390 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=] [sql="create database if not exists test"] [user=] [2024/05/18 21:50:45.391 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t, t1"] [user=] [2024/05/18 21:50:45.391 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (sysdate()))"] [user=] [2024/05/18 21:50:45.391 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.391 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1794\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/18 21:50:45.392 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (non_exist_funcA()))"] [user=] [2024/05/18 21:50:45.392 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.392 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1796\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/18 21:50:45.392 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (values(a)))"] [user=] [2024/05/18 21:50:45.392 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.392 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1798\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/18 21:50:45.393 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as ((SELECT 1 FROM t1 UNION SELECT 1 FROM t1)))"] [user=] [2024/05/18 21:50:45.393 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.393 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1800\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/18 21:50:45.394 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (@x))"] [user=] [2024/05/18 21:50:45.394 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.394 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1803\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/18 21:50:45.394 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (@@max_connections))"] [user=] [2024/05/18 21:50:45.394 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.394 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1804\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/18 21:50:45.395 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (@y:=1))"] [user=] [2024/05/18 21:50:45.395 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.395 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1805\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/18 21:50:45.395 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (getvalue(\"x\")))"] [user=] [2024/05/18 21:50:45.395 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.395 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1806\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/18 21:50:45.396 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (setvalue(\"y\", 1)))"] [user=] [2024/05/18 21:50:45.396 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.396 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1807\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/18 21:50:45.396 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t1 (a int, b int as (avg(a)));"] [user=] [2024/05/18 21:50:45.396 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.396 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=51] [error="[ddl:1111]Invalid use of group function"] [errorVerbose="[ddl:1111]Invalid use of group function\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.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1804\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1809\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/18 21:50:45.397 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t1 (a int, b int generated always as (abs(a)) virtual)"] [user=] [2024/05/18 21:50:45.400 +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-18 21:50:45.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.400 +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-18 21:50:45.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (a int, b int generated always as (abs(a)) virtual)"] [2024/05/18 21:50:45.405 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=7] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:45.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.408 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=272.285µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.409 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:45.409 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.065653ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.417 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=7] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:45.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.419 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:45.419 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.421 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="create table t (a int, b int as (updatexml(1, 1, 1)))"] [user=] [2024/05/18 21:50:45.421 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.421 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1818\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/18 21:50:45.421 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="create table t (a int, b int as (statement_digest(1)))"] [user=] [2024/05/18 21:50:45.422 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.422 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1819\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/18 21:50:45.422 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="create table t (a int, b int as (statement_digest_text(1)))"] [user=] [2024/05/18 21:50:45.422 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.422 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:3102]Expression of generated column 'b' contains a disallowed function."] [errorVerbose="[ddl:3102]Expression of generated column 'b' contains a disallowed function.\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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:357\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1820\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/18 21:50:45.422 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="create table t (a int, b int as ((a, a)))"] [user=] [2024/05/18 21:50:45.422 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:45.422 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:3764]Expression of generated column 'b' cannot refer to a row value"] [errorVerbose="[ddl:3764]Expression of generated column 'b' cannot refer to a row 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.checkIllegalFn4Generated\n\tpkg/ddl/generated_column.go:368\ngithub.com/pingcap/tidb/pkg/ddl.checkGeneratedColumn\n\tpkg/ddl/ddl_api.go:1803\ngithub.com/pingcap/tidb/pkg/ddl.checkTableInfoValidWithStmt\n\tpkg/ddl/ddl_api.go:2425\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2707\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.TestSqlFunctionsInGeneratedColumns\n\tpkg/ddl/db_integration_test.go:1823\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/18 21:50:45.422 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="create table t (a int, b int as ((a)))"] [user=] [2024/05/18 21:50:45.425 +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-18 21:50:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.425 +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-18 21:50:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b int as ((a)))"] [2024/05/18 21:50:45.431 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=7] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.433 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=210.342µs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.434 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/18 21:50:45.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=53] ["take time"=10.957613ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.449 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=7] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:45.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.451 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:50:45.451 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.456 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d77f1da7-81c7-4693-8fb7-a9d7a9865f74] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=2.262µs] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=1.724µs] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=1.354µs] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=1.219µs] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=1.295µs] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:45.456 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:45.456 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=d77f1da7-81c7-4693-8fb7-a9d7a9865f74] ["take time"=4.614506ms] [2024/05/18 21:50:45.456 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=d77f1da7-81c7-4693-8fb7-a9d7a9865f74] [2024/05/18 21:50:45.456 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:45.456 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:45.456 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:45.456 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:45.456 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:45.456 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:45.457 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:45.457 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d77f1da7-81c7-4693-8fb7-a9d7a9865f74] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:45.457 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d77f1da7-81c7-4693-8fb7-a9d7a9865f74] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:45.457 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:45.458 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.07744ms] [2024/05/18 21:50:45.458 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:45.459 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:45.459 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:45.459 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:45.459 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:45.459 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestSqlFunctionsInGeneratedColumns (1.51s) === RUN TestCreateConstraintForTable [2024/05/18 21:50:45.474 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:45.474 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.474 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.474 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.474 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.475 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.477 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=36b80f2e-a5fb-4cd3-8e6c-4978fb01641f] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:45.483 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/18 21:50:45.483 +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.TestCreateConstraintForTable\n\tpkg/ddl/db_table_test.go:850\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:45.497 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=13.526302ms] [2024/05/18 21:50:45.499 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:45.499 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=b2904daf-b2d1-440a-aee4-3a756ee591d6] [runWorker=true] [2024/05/18 21:50:45.499 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:45.499 +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/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:45.499 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:45.499 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:45.499 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:45.499 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:45.499 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:45.499 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:45.500 +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/18 21:50:45.502 +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-18 21:50:45.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.502 +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-18 21:50:45.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:45.508 +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-18 21:50:45.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.527 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=17.257707ms] [2024/05/18 21:50:45.529 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:45.530 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.530 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:45.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=1] ["take time"=22.392912ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:45.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.538 +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-18 21:50:45.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.540 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:45.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.540 +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/18 21:50:45.547 +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/18 21:50:45.553 +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-18 21:50:45.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.553 +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-18 21:50:45.549 +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/18 21:50:45.560 +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-18 21:50:45.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.569 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=880.806µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.570 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.570 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:45.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=2] ["take time"=4.126764ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.577 +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-18 21:50:45.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.585 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:45.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.585 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.585 +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/18 21:50:45.588 +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-18 21:50:45.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.588 +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-18 21:50:45.587 +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/18 21:50:45.594 +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-18 21:50:45.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.597 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=253.558µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.598 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.598 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:45.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=3] ["take time"=2.408874ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.607 +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-18 21:50:45.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.611 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:45.611 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.611 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.611 +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/18 21:50:45.614 +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-18 21:50:45.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.614 +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-18 21:50:45.613 +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/18 21:50:45.619 +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-18 21:50:45.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.622 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=256.288µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.623 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.623 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:45.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=4] ["take time"=3.062391ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.629 +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-18 21:50:45.613 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.631 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:45.631 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.632 +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/18 21:50:45.635 +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-18 21:50:45.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.635 +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-18 21:50:45.633 +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/18 21:50:45.640 +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-18 21:50:45.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.644 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=634.163µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.646 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.646 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:45.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=5] ["take time"=4.17401ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.653 +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-18 21:50:45.633 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.658 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:45.658 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.658 +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/18 21:50:45.662 +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-18 21:50:45.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.662 +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-18 21:50:45.66 +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/18 21:50:45.669 +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-18 21:50:45.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.673 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=291.533µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.674 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.674 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:45.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=6] ["take time"=2.092267ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.682 +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-18 21:50:45.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.688 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:45.688 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.689 +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/18 21:50:45.692 +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-18 21:50:45.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.692 +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-18 21:50:45.691 +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/18 21:50:45.701 +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-18 21:50:45.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.705 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=378.063µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.706 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.706 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:45.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=7] ["take time"=2.241075ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.712 +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-18 21:50:45.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.715 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:45.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.716 +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/18 21:50:45.719 +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-18 21:50:45.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.719 +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-18 21:50:45.717 +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/18 21:50:45.726 +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-18 21:50:45.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.729 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=169.427µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.730 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.730 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:45.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=8] ["take time"=6.672016ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.740 +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-18 21:50:45.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.742 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:45.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.743 +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/18 21:50:45.746 +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-18 21:50:45.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.746 +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-18 21:50:45.744 +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/18 21:50:45.752 +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-18 21:50:45.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.755 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=260.543µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.756 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.756 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:45.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=9] ["take time"=2.012324ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.761 +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-18 21:50:45.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.764 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:45.764 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.765 +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/18 21:50:45.768 +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-18 21:50:45.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.768 +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-18 21:50:45.766 +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/18 21:50:45.775 +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-18 21:50:45.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.778 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=330.208µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.780 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.780 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:45.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=10] ["take time"=2.712666ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.785 +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-18 21:50:45.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.788 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:45.788 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.788 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.788 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.788 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.789 +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/18 21:50:45.791 +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-18 21:50:45.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.791 +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-18 21:50:45.79 +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/18 21:50:45.797 +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-18 21:50:45.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.801 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=317.026µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.802 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.802 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:45.802 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.068083ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.807 +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-18 21:50:45.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.810 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:45.810 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.810 +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/18 21:50:45.810 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:45.814 +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-18 21:50:45.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.814 +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-18 21:50:45.812 +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/18 21:50:45.820 +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-18 21:50:45.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.824 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=473.115µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.826 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.826 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:45.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=12] ["take time"=2.007179ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.831 +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-18 21:50:45.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.836 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:45.836 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.836 +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/18 21:50:45.840 +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-18 21:50:45.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.840 +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-18 21:50:45.838 +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/18 21:50:45.848 +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-18 21:50:45.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.852 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=408.201µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.853 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.854 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:45.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.669832ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.859 +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-18 21:50:45.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.863 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:45.863 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.864 +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/18 21:50:45.867 +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-18 21:50:45.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.867 +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-18 21:50:45.865 +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/18 21:50:45.874 +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-18 21:50:45.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.877 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=276.484µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.878 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.878 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:45.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=14] ["take time"=2.765085ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.886 +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-18 21:50:45.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.889 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:45.889 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.890 +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/18 21:50:45.893 +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-18 21:50:45.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.893 +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-18 21:50:45.891 +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/18 21:50:45.899 +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-18 21:50:45.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.902 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=363.606µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.903 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.903 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:45.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=15] ["take time"=2.008973ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.911 +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-18 21:50:45.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.914 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:45.914 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.915 +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/18 21:50:45.918 +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-18 21:50:45.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.918 +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-18 21:50:45.917 +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/18 21:50:45.924 +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-18 21:50:45.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.928 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=321.807µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.930 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.930 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:45.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=16] ["take time"=2.020449ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.936 +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-18 21:50:45.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.939 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:45.939 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.940 +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/18 21:50:45.943 +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-18 21:50:45.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.943 +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-18 21:50:45.941 +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/18 21:50:45.949 +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-18 21:50:45.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.953 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=403.119µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.954 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.954 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:45.957 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=5.160064ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.962 +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-18 21:50:45.941 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.966 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:45.966 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.967 +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/18 21:50:45.969 +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-18 21:50:45.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.969 +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-18 21:50:45.968 +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/18 21:50:45.977 +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-18 21:50:45.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.979 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=228.853µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:45.980 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:45.980 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:45.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=18] ["take time"=3.049045ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.987 +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-18 21:50:45.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:45.991 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:45.991 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:45.991 +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/18 21:50:45.994 +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-18 21:50:45.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:45.994 +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-18 21:50:45.993 +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/18 21:50:46.003 +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-18 21:50:45.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=353.181µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.008 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.008 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:46.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=19] ["take time"=2.964936ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:45.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.015 +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-18 21:50:45.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.019 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:46.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.019 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.019 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.019 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.019 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.019 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.019 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.021 +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/18 21:50:46.024 +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-18 21:50:46.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.024 +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-18 21:50:46.023 +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/18 21:50:46.029 +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-18 21:50:46.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.032 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=299.344µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.033 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.033 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:46.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=20] ["take time"=2.797455ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.040 +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-18 21:50:46.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.045 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:46.045 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.046 +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/18 21:50:46.048 +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-18 21:50:46.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.048 +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-18 21:50:46.047 +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/18 21:50:46.058 +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-18 21:50:46.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.061 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=227.163µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.062 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.062 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:46.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=21] ["take time"=2.09958ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.070 +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-18 21:50:46.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.072 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:46.072 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.072 +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/18 21:50:46.075 +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-18 21:50:46.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.075 +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-18 21:50:46.074 +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/18 21:50:46.081 +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-18 21:50:46.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.083 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=182.226µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.084 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.084 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:46.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=22] ["take time"=2.10167ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.089 +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-18 21:50:46.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.091 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:46.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.092 +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/18 21:50:46.095 +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-18 21:50:46.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.095 +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-18 21:50:46.093 +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/18 21:50:46.102 +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-18 21:50:46.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.105 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=421.003µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.107 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.107 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:46.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=23] ["take time"=6.590858ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.117 +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-18 21:50:46.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.121 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:46.121 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.121 +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/18 21:50:46.124 +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-18 21:50:46.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.124 +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-18 21:50:46.122 +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/18 21:50:46.131 +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-18 21:50:46.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.134 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=284.701µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.135 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.135 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:46.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=24] ["take time"=2.094408ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.139 +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-18 21:50:46.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.143 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:46.143 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.143 +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/18 21:50:46.146 +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-18 21:50:46.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.146 +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-18 21:50:46.145 +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/18 21:50:46.152 +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-18 21:50:46.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.154 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=227.799µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.155 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.155 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:46.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=25] ["take time"=2.425727ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.164 +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-18 21:50:46.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.167 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:46.167 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.167 +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/18 21:50:46.170 +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-18 21:50:46.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.170 +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-18 21:50:46.169 +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/18 21:50:46.176 +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-18 21:50:46.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.179 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=250.609µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.180 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.180 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:46.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=26] ["take time"=2.13224ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.184 +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-18 21:50:46.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.187 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:46.187 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.188 +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/18 21:50:46.190 +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-18 21:50:46.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.191 +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-18 21:50:46.189 +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/18 21:50:46.199 +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-18 21:50:46.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.202 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=264.601µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.203 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.203 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:46.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=27] ["take time"=2.168053ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.210 +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-18 21:50:46.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.212 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:46.212 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.213 +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/18 21:50:46.216 +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-18 21:50:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.216 +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-18 21:50:46.215 +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/18 21:50:46.223 +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-18 21:50:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.226 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=239.449µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.227 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.227 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:46.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=28] ["take time"=2.265687ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.233 +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-18 21:50:46.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.237 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:46.237 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.237 +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/18 21:50:46.237 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.240 +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-18 21:50:46.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.240 +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-18 21:50:46.239 +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/18 21:50:46.251 +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-18 21:50:46.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.256 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=337.583µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.258 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.258 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:46.259 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.836469ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.264 +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-18 21:50:46.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.266 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:46.267 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.267 +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/18 21:50:46.270 +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-18 21:50:46.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.270 +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-18 21:50:46.269 +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/18 21:50:46.275 +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-18 21:50:46.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.278 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=230.297µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.279 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.279 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:46.280 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.493245ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.284 +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-18 21:50:46.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.288 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:46.288 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.288 +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/18 21:50:46.291 +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-18 21:50:46.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.291 +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-18 21:50:46.289 +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/18 21:50:46.297 +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-18 21:50:46.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.300 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=323.654µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.301 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.301 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:46.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=31] ["take time"=2.127851ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.309 +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-18 21:50:46.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.312 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:46.312 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.312 +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/18 21:50:46.315 +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-18 21:50:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.315 +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-18 21:50:46.314 +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/18 21:50:46.320 +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-18 21:50:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.324 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=424.512µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.325 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.325 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:46.326 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.135569ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.331 +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-18 21:50:46.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.335 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:46.335 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.336 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.336 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.336 +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/18 21:50:46.339 +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-18 21:50:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.339 +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-18 21:50:46.338 +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/18 21:50:46.342 +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-18 21:50:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.344 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=171.952µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.345 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.345 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:46.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=33] ["take time"=2.23807ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.350 +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-18 21:50:46.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.353 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:46.353 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.356 +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-18 21:50:46.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.356 +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-18 21:50:46.355 +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/18 21:50:46.361 +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-18 21:50:46.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.365 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=318.962µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:46.366 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.366 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:46.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=34] ["take time"=3.050651ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:46.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.373 +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-18 21:50:46.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.375 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:46.376 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.376 +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/18 21:50:46.379 +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-18 21:50:46.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.379 +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-18 21:50:46.377 +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/18 21:50:46.384 +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-18 21:50:46.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.386 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=204.814µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.387 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.387 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:46.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=35] ["take time"=2.746054ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.393 +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-18 21:50:46.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.396 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:46.396 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.396 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.396 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.397 +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/18 21:50:46.399 +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-18 21:50:46.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.399 +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-18 21:50:46.398 +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/18 21:50:46.406 +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-18 21:50:46.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.410 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=232.796µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.411 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.411 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:46.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=36] ["take time"=2.236462ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.427 +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-18 21:50:46.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.430 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:46.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.431 +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/18 21:50:46.435 +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-18 21:50:46.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.435 +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-18 21:50:46.434 +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/18 21:50:46.440 +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-18 21:50:46.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.442 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=178.991µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.443 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.443 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:46.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=37] ["take time"=2.446478ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.450 +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-18 21:50:46.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.453 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:46.453 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.454 +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/18 21:50:46.457 +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-18 21:50:46.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.457 +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-18 21:50:46.455 +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/18 21:50:46.464 +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-18 21:50:46.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.469 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=504.984µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.470 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.470 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:46.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=38] ["take time"=2.454214ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.475 +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-18 21:50:46.455 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.479 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:46.479 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.479 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.479 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.479 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.480 +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/18 21:50:46.482 +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-18 21:50:46.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.482 +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-18 21:50:46.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/18 21:50:46.487 +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-18 21:50:46.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.491 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=368.201µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.492 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.492 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:46.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=39] ["take time"=2.973258ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.499 +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-18 21:50:46.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.499 +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/18 21:50:46.499 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:46.502 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:46.502 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.502 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.503 +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/18 21:50:46.506 +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-18 21:50:46.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.506 +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-18 21:50:46.504 +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/18 21:50:46.511 +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-18 21:50:46.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.514 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=319.415µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.515 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.515 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:46.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=40] ["take time"=2.806152ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.522 +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-18 21:50:46.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.526 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:46.526 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.526 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.526 +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/18 21:50:46.530 +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-18 21:50:46.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.530 +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-18 21:50:46.527 +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/18 21:50:46.536 +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-18 21:50:46.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.540 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=484.623µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.541 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.541 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:46.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=41] ["take time"=2.946371ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.549 +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-18 21:50:46.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.558 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:46.558 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.559 +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/18 21:50:46.562 +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-18 21:50:46.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.562 +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-18 21:50:46.56 +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/18 21:50:46.571 +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-18 21:50:46.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.575 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=501.64µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.576 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.576 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:46.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=42] ["take time"=2.434261ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.583 +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-18 21:50:46.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.588 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:46.588 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.589 +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/18 21:50:46.592 +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-18 21:50:46.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.592 +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-18 21:50:46.59 +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/18 21:50:46.599 +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-18 21:50:46.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.603 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=472.22µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.605 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.605 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:46.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=43] ["take time"=2.466194ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.610 +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-18 21:50:46.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.615 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:46.615 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.615 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.615 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.615 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.615 +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/18 21:50:46.618 +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-18 21:50:46.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.618 +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-18 21:50:46.617 +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/18 21:50:46.626 +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-18 21:50:46.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=393.803µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.631 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:46.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=44] ["take time"=4.694382ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.640 +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-18 21:50:46.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.644 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:46.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.644 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.645 +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/18 21:50:46.648 +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-18 21:50:46.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.648 +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-18 21:50:46.647 +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/18 21:50:46.656 +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-18 21:50:46.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.660 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=488.592µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.661 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.661 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:46.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=45] ["take time"=2.114158ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.667 +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-18 21:50:46.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.671 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:46.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.672 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.672 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.672 +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/18 21:50:46.676 +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-18 21:50:46.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.676 +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-18 21:50:46.674 +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/18 21:50:46.682 +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-18 21:50:46.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.688 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=634.793µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.689 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.689 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:46.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=46] ["take time"=4.823148ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.697 +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-18 21:50:46.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.703 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:46.703 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.703 +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/18 21:50:46.706 +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-18 21:50:46.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.706 +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-18 21:50:46.705 +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/18 21:50:46.713 +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-18 21:50:46.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.716 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=364.345µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.718 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.718 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:46.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=47] ["take time"=2.962671ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.724 +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-18 21:50:46.705 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.729 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:46.729 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.729 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:46.729 +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/18 21:50:46.733 +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-18 21:50:46.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.733 +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-18 21:50:46.731 +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/18 21:50:46.741 +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-18 21:50:46.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.744 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=258.697µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.745 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.745 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:46.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=48] ["take time"=2.520019ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.754 +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-18 21:50:46.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.757 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:46.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.758 +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/18 21:50:46.761 +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-18 21:50:46.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.761 +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-18 21:50:46.76 +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/18 21:50:46.766 +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-18 21:50:46.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.769 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=224.826µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.771 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.771 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:46.771 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.584924ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.780 +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-18 21:50:46.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.784 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:46.784 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.784 +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/18 21:50:46.786 +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-18 21:50:46.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.786 +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-18 21:50:46.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:46.796 +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-18 21:50:46.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.799 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=155.7µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:46.801 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.801 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:46.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=50] ["take time"=4.137209ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:46.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.810 +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-18 21:50:46.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.814 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:46.814 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.818 +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-18 21:50:46.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.818 +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-18 21:50:46.817 +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/18 21:50:46.827 +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-18 21:50:46.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.831 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=235.736µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:46.832 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:46.832 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:46.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=51] ["take time"=2.680986ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:46.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.842 +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-18 21:50:46.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.845 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:46.845 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.879 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.37975106s] [2024/05/18 21:50:46.879 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b2904daf-b2d1-440a-aee4-3a756ee591d6] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=20.545µs] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=12.973µs] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=21.841µs] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=29.688µs] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=1.907µs] [2024/05/18 21:50:46.879 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:46.879 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:46.880 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:46.889 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=b2904daf-b2d1-440a-aee4-3a756ee591d6] ["take time"=9.954707ms] [2024/05/18 21:50:46.889 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=b2904daf-b2d1-440a-aee4-3a756ee591d6] [2024/05/18 21:50:46.889 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:46.889 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:46.889 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:46.889 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:46.889 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:46.889 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:46.889 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:46.889 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:46.889 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:46.889 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:46.889 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:46.889 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=10.196576ms] [2024/05/18 21:50:46.889 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=36b80f2e-a5fb-4cd3-8e6c-4978fb01641f] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:46.895 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/18 21:50:46.921 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=25.828368ms] [2024/05/18 21:50:46.933 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:46.933 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=75c5bf85-65dd-41de-ab3b-9ead5fa47dfd] [runWorker=true] [2024/05/18 21:50:46.933 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:46.933 +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/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:46.933 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:46.933 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:46.933 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:46.933 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:46.933 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:46.933 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:46.940 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:46.940 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:46.953 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:46.956 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:46.957 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:46.957 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:46.958 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:46.958 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:46.958 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:46.959 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:46.959 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:46.960 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:46.960 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:46.961 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:46.961 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:46.961 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:46.967 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:46.967 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="DROP TABLE IF EXISTS t1, t2"] [user=] [2024/05/18 21:50:46.971 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_enable_check_constraint] [val=1] [2024/05/18 21:50:46.972 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [user=] [2024/05/18 21:50:46.975 +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-18 21:50:46.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:46.975 +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-18 21:50:46.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [2024/05/18 21:50:46.981 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=8] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:46.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.984 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=430.922µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:46.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:46.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=52] ["take time"=2.232182ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:46.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.994 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=8] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:46.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:46.997 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:46.997 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:46.998 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="CREATE TABLE t2 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [user=] [2024/05/18 21:50:47.001 +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-18 21:50:47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.001 +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-18 21:50:47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t2 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [2024/05/18 21:50:47.007 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=8] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.007 +00:00] [INFO] [ddl_worker.go:1168] ["DDL job is cancelled normally"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=8] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkConstraintNamesNotExists\n\tpkg/ddl/table.go:1536\ngithub.com/pingcap/tidb/pkg/ddl.createTable\n\tpkg/ddl/table.go:74\ngithub.com/pingcap/tidb/pkg/ddl.onCreateTable\n\tpkg/ddl/table.go:176\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1256\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/18 21:50:47.008 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=8] [job="ID:107, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47 +0000 UTC, Err:[schema:3822]Duplicate check constraint name 'c1'., ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.011 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=107] [2024/05/18 21:50:47.011 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:47.011 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1322\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2881\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.TestCreateConstraintForTable\n\tpkg/ddl/db_table_test.go:859\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 8,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:47.011 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="CREATE TABLE t2 (id INT PRIMARY KEY)"] [user=] [2024/05/18 21:50:47.014 +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-18 21:50:47.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.014 +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-18 21:50:47.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t2 (id INT PRIMARY KEY)"] [2024/05/18 21:50:47.022 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [conn=8] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.025 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=249.189µs] [gotSchemaVersion=53] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.027 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=53] [2024/05/18 21:50:47.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=53] ["take time"=4.288038ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.035 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [conn=8] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.038 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/18 21:50:47.038 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.039 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="ALTER TABLE t2 ADD CONSTRAINT c1 CHECK (id<50)"] [user=] [2024/05/18 21:50:47.041 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:47.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.041 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:47.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="ALTER TABLE t2 ADD CONSTRAINT c1 CHECK (id<50)"] [2024/05/18 21:50:47.052 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=8] [category=ddl] [job="ID:110, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.053 +00:00] [INFO] [ddl_worker.go:1168] ["DDL job is cancelled normally"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=8] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkConstraintNamesNotExists\n\tpkg/ddl/table.go:1536\ngithub.com/pingcap/tidb/pkg/ddl.checkAddCheckConstraint\n\tpkg/ddl/constraint.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onAddCheckConstraint\n\tpkg/ddl/constraint.go:47\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1363\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/18 21:50:47.053 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=8] [job="ID:110, Type:add check constraint, State:cancelled, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:47.04 +0000 UTC, Err:[schema:3822]Duplicate check constraint name 'c1'., ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.059 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=110] [2024/05/18 21:50:47.059 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:47.059 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1322\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateCheckConstraint\n\tpkg/ddl/ddl_api.go:9409\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3954\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.TestCreateConstraintForTable\n\tpkg/ddl/db_table_test.go:863\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 8,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:47.059 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="DROP DATABASE IF EXISTS test2"] [user=] [2024/05/18 21:50:47.059 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="CREATE DATABASE test2"] [user=] [2024/05/18 21:50:47.062 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:47.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.062 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:47.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE test2"] [2024/05/18 21:50:47.069 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=112] [conn=8] [category=ddl] [job="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.072 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=110.768µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:47.073 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=54] [2024/05/18 21:50:47.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=54] ["take time"=2.316162ms] [job="ID:112, Type:create schema, State:done, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:47.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.079 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=112] [conn=8] [job="ID:112, Type:create schema, State:synced, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.082 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/18 21:50:47.082 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.083 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=54] [cur_db=test] [sql="CREATE TABLE test2.t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [user=] [2024/05/18 21:50:47.085 +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:111, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.086 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:111, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE test2.t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [2024/05/18 21:50:47.094 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=114] [conn=8] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:111, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.097 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=361.264µs] [gotSchemaVersion=55] [phyTblIDs="[113]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.098 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=55] [2024/05/18 21:50:47.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=55] ["take time"=2.021388ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:111, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.104 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=114] [conn=8] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:111, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:47.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.107 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/18 21:50:47.107 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.111 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=75c5bf85-65dd-41de-ab3b-9ead5fa47dfd] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=2.589µs] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=1.26µs] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=975ns] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=1.017µs] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=998ns] [2024/05/18 21:50:47.111 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:47.111 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:47.111 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:47.112 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=75c5bf85-65dd-41de-ab3b-9ead5fa47dfd] ["take time"=3.220824ms] [2024/05/18 21:50:47.112 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=75c5bf85-65dd-41de-ab3b-9ead5fa47dfd] [2024/05/18 21:50:47.112 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:47.112 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:47.112 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:47.112 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:47.112 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:47.112 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:47.112 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:47.113 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=75c5bf85-65dd-41de-ab3b-9ead5fa47dfd] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:47.113 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:47.113 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=75c5bf85-65dd-41de-ab3b-9ead5fa47dfd] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:47.113 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.852127ms] [2024/05/18 21:50:47.114 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:47.114 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:47.114 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:47.114 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:47.114 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:47.114 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCreateConstraintForTable (1.66s) === RUN TestCheckOwner [2024/05/18 21:50:47.118 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:47.118 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:47.118 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:47.119 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:47.119 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:47.119 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:47.121 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9805cea7-a799-4778-b969-8ef71c88ae43] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/18 21:50:47.129 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:47.129 +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/18 21:50:47.129 +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.TestCheckOwner\n\tpkg/ddl/ddl_worker_test.go:37\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:47.149 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.352734ms] [2024/05/18 21:50:47.151 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:47.151 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=ab0111c5-3c47-4a84-ae77-5c15b13e6f84] [runWorker=true] [2024/05/18 21:50:47.151 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:47.151 +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/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:47.151 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:47.151 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:47.151 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:47.151 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:47.152 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:47.152 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:47.154 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:47.155 +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/18 21:50:47.158 +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-18 21:50:47.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.158 +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-18 21:50:47.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:47.164 +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-18 21:50:47.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.186 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.691182ms] [2024/05/18 21:50:47.189 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:47.191 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:47.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=26.323633ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:47.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.199 +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-18 21:50:47.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.202 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:47.202 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.202 +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/18 21:50:47.203 +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/18 21:50:47.211 +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-18 21:50:47.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.211 +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-18 21:50:47.205 +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/18 21:50:47.223 +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-18 21:50:47.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.232 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=974.635µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.234 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.234 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:47.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=2] ["take time"=4.141316ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.242 +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-18 21:50:47.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.248 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:47.248 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.248 +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/18 21:50:47.251 +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-18 21:50:47.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.251 +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-18 21:50:47.25 +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/18 21:50:47.257 +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-18 21:50:47.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.260 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=285.551µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.262 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.262 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:47.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=3] ["take time"=2.043029ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.267 +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-18 21:50:47.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.271 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:47.271 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.271 +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/18 21:50:47.274 +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-18 21:50:47.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.274 +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-18 21:50:47.272 +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/18 21:50:47.280 +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-18 21:50:47.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.283 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=260.027µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.284 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.284 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:47.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=4] ["take time"=2.185129ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.290 +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-18 21:50:47.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.296 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:47.297 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.297 +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/18 21:50:47.301 +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-18 21:50:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.301 +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-18 21:50:47.298 +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/18 21:50:47.309 +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-18 21:50:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.316 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=840.729µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.318 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.318 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:47.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=5] ["take time"=4.065381ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.326 +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-18 21:50:47.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.333 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:47.333 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.334 +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/18 21:50:47.338 +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-18 21:50:47.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.338 +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-18 21:50:47.335 +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/18 21:50:47.344 +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-18 21:50:47.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.349 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=439.015µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.350 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.351 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:47.352 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.035094ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.361 +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-18 21:50:47.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.365 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:47.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.365 +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/18 21:50:47.368 +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-18 21:50:47.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.369 +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-18 21:50:47.367 +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/18 21:50:47.380 +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-18 21:50:47.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.388 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=448.014µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.389 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.389 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:47.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=7] ["take time"=7.288363ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.401 +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-18 21:50:47.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:47.406 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.406 +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/18 21:50:47.409 +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-18 21:50:47.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.409 +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-18 21:50:47.408 +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/18 21:50:47.421 +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-18 21:50:47.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.424 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=285.518µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.426 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.426 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50: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=8] ["take time"=3.555742ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.434 +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-18 21:50:47.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.437 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:47.437 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.438 +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/18 21:50:47.448 +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-18 21:50:47.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.448 +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-18 21:50:47.439 +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/18 21:50:47.458 +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-18 21:50:47.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.461 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=263.991µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.462 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.462 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:47.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=9] ["take time"=2.606727ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.468 +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-18 21:50:47.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.473 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:47.473 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.473 +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/18 21:50:47.477 +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-18 21:50:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.477 +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-18 21:50:47.475 +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/18 21:50:47.483 +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-18 21:50:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.487 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=366.22µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.488 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.488 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:47.489 +00:00] [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.521943ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.493 +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-18 21:50:47.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.498 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:47.498 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.499 +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/18 21:50:47.506 +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-18 21:50:47.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.506 +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-18 21:50:47.5 +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/18 21:50:47.519 +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-18 21:50:47.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.523 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=366.812µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.526 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.526 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:47.527 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.527056ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.533 +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-18 21:50:47.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.539 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:47.539 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.540 +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/18 21:50:47.540 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:47.546 +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-18 21:50:47.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.546 +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-18 21:50:47.542 +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/18 21:50:47.554 +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-18 21:50:47.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.559 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=513.604µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.560 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.560 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50: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=12] ["take time"=4.465377ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.567 +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-18 21:50:47.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.571 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:47.571 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.572 +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/18 21:50:47.574 +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-18 21:50:47.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.574 +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-18 21:50:47.573 +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/18 21:50:47.579 +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-18 21:50:47.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.584 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=555.349µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.585 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.585 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:47.586 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.717362ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.593 +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-18 21:50:47.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.596 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:47.596 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.597 +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/18 21:50:47.600 +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-18 21:50:47.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.600 +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-18 21:50:47.598 +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/18 21:50:47.608 +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-18 21:50:47.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.612 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=360.032µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.615 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.615 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:47.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=14] ["take time"=4.099199ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.621 +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-18 21:50:47.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.625 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:47.625 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.626 +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/18 21:50:47.629 +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-18 21:50:47.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.629 +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-18 21:50:47.627 +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/18 21:50:47.636 +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-18 21:50:47.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.639 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=326.936µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.640 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.640 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:47.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=15] ["take time"=2.444156ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.647 +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-18 21:50:47.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.650 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:47.650 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.650 +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/18 21:50:47.653 +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-18 21:50:47.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.653 +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-18 21:50:47.651 +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/18 21:50:47.661 +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-18 21:50:47.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.665 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=251.275µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.666 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.666 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:47.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=16] ["take time"=2.026117ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.671 +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-18 21:50:47.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.676 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:47.676 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.676 +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/18 21:50:47.680 +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-18 21:50:47.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.680 +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-18 21:50:47.678 +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/18 21:50:47.685 +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-18 21:50:47.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.688 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=244.209µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.689 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.689 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:47.691 +00:00] [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.924478ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.696 +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-18 21:50:47.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.699 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:47.699 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.700 +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/18 21:50:47.703 +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-18 21:50:47.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.703 +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-18 21:50:47.701 +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/18 21:50:47.711 +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-18 21:50:47.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.714 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=329.246µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.716 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.716 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:47.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=18] ["take time"=2.027671ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.721 +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-18 21:50:47.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.726 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:47.726 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.726 +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/18 21:50:47.730 +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-18 21:50:47.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.730 +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-18 21:50:47.728 +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/18 21:50:47.737 +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-18 21:50:47.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.742 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=488.726µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.743 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.743 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:47.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=19] ["take time"=2.280903ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.749 +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-18 21:50:47.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.753 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:47.753 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.754 +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/18 21:50:47.756 +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-18 21:50:47.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.756 +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-18 21:50:47.755 +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/18 21:50:47.764 +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-18 21:50:47.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.767 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=303.188µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.768 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.768 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:47.769 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.314718ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.773 +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-18 21:50:47.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.777 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:47.777 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.777 +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/18 21:50:47.780 +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-18 21:50:47.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.780 +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-18 21:50:47.779 +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/18 21:50:47.787 +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-18 21:50:47.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.790 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=229.755µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.791 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.791 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:47.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=21] ["take time"=2.459931ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.797 +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-18 21:50:47.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.801 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:47.801 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.801 +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/18 21:50:47.804 +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-18 21:50:47.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.804 +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-18 21:50:47.803 +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/18 21:50:47.812 +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-18 21:50:47.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.815 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=239.551µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.816 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.816 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:47.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=22] ["take time"=2.056409ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.826 +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-18 21:50:47.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.831 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:47.831 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.831 +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/18 21:50:47.834 +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-18 21:50:47.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.834 +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-18 21:50:47.832 +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/18 21:50:47.840 +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-18 21:50:47.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.844 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=401.49µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.845 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.845 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:47.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=23] ["take time"=2.085845ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.853 +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-18 21:50:47.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.858 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:47.858 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.858 +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/18 21:50:47.862 +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-18 21:50:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.862 +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-18 21:50:47.86 +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/18 21:50:47.871 +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-18 21:50:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.874 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=346.376µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.875 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.875 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:47.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=24] ["take time"=2.645007ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.881 +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-18 21:50:47.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.884 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:47.884 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.885 +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/18 21:50:47.888 +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-18 21:50:47.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.888 +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-18 21:50:47.886 +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/18 21:50:47.895 +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-18 21:50:47.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.898 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=276.045µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.900 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.900 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:47.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=25] ["take time"=2.41794ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.905 +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-18 21:50:47.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.909 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:47.909 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.910 +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/18 21:50:47.913 +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-18 21:50:47.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.913 +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-18 21:50:47.911 +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/18 21:50:47.925 +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-18 21:50:47.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.930 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=313.697µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.932 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.932 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50: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=26] ["take time"=4.760224ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.940 +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-18 21:50:47.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.943 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:47.943 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.943 +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/18 21:50:47.946 +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-18 21:50:47.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.946 +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-18 21:50:47.945 +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/18 21:50:47.954 +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-18 21:50:47.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.957 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=323.758µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.959 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.959 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:47.959 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.042544ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.965 +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-18 21:50:47.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.968 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:47.968 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.968 +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/18 21:50:47.971 +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-18 21:50:47.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.971 +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-18 21:50:47.97 +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/18 21:50:47.978 +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-18 21:50:47.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.980 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=183.909µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:47.981 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:47.981 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50: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=28] ["take time"=2.581039ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.986 +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-18 21:50:47.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:47.989 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:47.989 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:47.989 +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/18 21:50:47.990 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:47.992 +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-18 21:50:47.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:47.992 +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-18 21:50:47.991 +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/18 21:50:47.999 +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-18 21:50:47.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.002 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=312.316µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.004 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.004 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:48.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=29] ["take time"=2.410076ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:47.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.011 +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-18 21:50:47.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.014 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:48.014 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.014 +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/18 21:50:48.017 +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-18 21:50:48.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.017 +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-18 21:50:48.015 +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/18 21:50:48.024 +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-18 21:50:48.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.027 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=375.369µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.029 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.029 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:48.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=30] ["take time"=2.55696ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.034 +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-18 21:50:48.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.037 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:48.037 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.037 +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/18 21:50:48.040 +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-18 21:50:48.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.040 +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-18 21:50:48.038 +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/18 21:50:48.047 +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-18 21:50:48.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.050 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=378.813µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.052 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.052 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:48.052 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.025095ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.057 +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-18 21:50:48.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:48.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.062 +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/18 21:50:48.082 +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-18 21:50:48.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.082 +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-18 21:50:48.071 +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/18 21:50:48.088 +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-18 21:50:48.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.091 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=486.282µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.093 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.093 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:48.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=32] ["take time"=2.074296ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.098 +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-18 21:50:48.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.101 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:48.102 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.102 +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/18 21:50:48.104 +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-18 21:50:48.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.104 +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-18 21:50:48.103 +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/18 21:50:48.111 +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-18 21:50:48.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.113 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=232.236µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.114 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.114 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:48.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=33] ["take time"=2.306194ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.122 +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-18 21:50:48.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.125 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:48.125 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.128 +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-18 21:50:48.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.128 +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-18 21:50:48.127 +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/18 21:50:48.134 +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-18 21:50:48.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.137 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=196.495µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:48.137 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.137 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:48.138 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.01488ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:48.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.142 +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-18 21:50:48.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.145 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:48.145 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.145 +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/18 21:50:48.148 +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-18 21:50:48.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.148 +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-18 21:50:48.146 +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/18 21:50:48.152 +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/18 21:50:48.154 +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-18 21:50:48.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.158 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=334.686µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.159 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.159 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:48.160 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.549936ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.164 +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-18 21:50:48.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.168 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:48.168 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.168 +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/18 21:50:48.170 +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-18 21:50:48.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.170 +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-18 21:50:48.169 +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/18 21:50:48.176 +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-18 21:50:48.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.178 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=267.582µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.179 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.179 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:48.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=36] ["take time"=2.252021ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.185 +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-18 21:50:48.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.187 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:48.187 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.188 +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/18 21:50:48.190 +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-18 21:50:48.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.190 +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-18 21:50:48.189 +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/18 21:50:48.197 +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-18 21:50:48.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.201 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=266.492µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.202 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.202 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:48.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=37] ["take time"=2.153614ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.212 +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-18 21:50:48.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.216 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:48.216 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.217 +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/18 21:50:48.220 +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-18 21:50:48.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.220 +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-18 21:50:48.218 +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/18 21:50:48.226 +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-18 21:50:48.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.230 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=430.934µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.231 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.231 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:48.233 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=3.027652ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.237 +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-18 21:50:48.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.241 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:48.241 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.242 +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/18 21:50:48.245 +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-18 21:50:48.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.245 +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-18 21:50:48.243 +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/18 21:50:48.250 +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-18 21:50:48.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.255 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=614.351µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.256 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.256 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:48.258 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=3.984449ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.262 +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-18 21:50:48.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.266 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:48.266 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.266 +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/18 21:50:48.269 +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-18 21:50:48.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.269 +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-18 21:50:48.267 +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/18 21:50:48.275 +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-18 21:50:48.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.279 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=395.911µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.280 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.280 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:48.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=40] ["take time"=2.127668ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.286 +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-18 21:50:48.267 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.290 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:48.290 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.290 +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/18 21:50:48.294 +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-18 21:50:48.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.294 +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-18 21:50:48.291 +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/18 21:50:48.299 +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-18 21:50:48.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.302 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=404.345µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.304 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.304 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:48.304 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.058511ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.308 +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-18 21:50:48.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.312 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:48.312 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.312 +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/18 21:50:48.315 +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-18 21:50:48.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.316 +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-18 21:50:48.313 +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/18 21:50:48.321 +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-18 21:50:48.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.325 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=569.985µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.326 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.326 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:48.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=42] ["take time"=2.912774ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.332 +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-18 21:50:48.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.336 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:48.336 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.337 +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/18 21:50:48.340 +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-18 21:50:48.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.340 +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-18 21:50:48.338 +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/18 21:50:48.349 +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-18 21:50:48.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.353 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=466.95µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.354 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.354 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:48.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=43] ["take time"=2.546588ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.361 +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-18 21:50:48.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.365 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:48.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.366 +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/18 21:50:48.368 +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-18 21:50:48.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.368 +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-18 21:50:48.367 +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/18 21:50:48.375 +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-18 21:50:48.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.379 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=374.504µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.380 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.380 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:48.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=44] ["take time"=2.260725ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.385 +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-18 21:50:48.367 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.390 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:48.390 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.390 +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/18 21:50:48.394 +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-18 21:50:48.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.394 +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-18 21:50:48.392 +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/18 21:50:48.399 +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-18 21:50:48.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.402 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=267.489µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.403 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.403 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:48.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=45] ["take time"=2.505718ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.411 +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-18 21:50:48.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.415 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:48.415 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.415 +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/18 21:50:48.419 +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-18 21:50:48.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.419 +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-18 21:50:48.417 +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/18 21:50:48.424 +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-18 21:50:48.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.429 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=642.973µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.431 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.431 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:48.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=46] ["take time"=4.440294ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.438 +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-18 21:50:48.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.443 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:48.443 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.443 +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/18 21:50:48.446 +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-18 21:50:48.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.446 +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-18 21:50:48.444 +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/18 21:50:48.451 +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-18 21:50:48.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.454 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=312.058µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.456 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.456 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:48.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=47] ["take time"=2.621026ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.461 +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-18 21:50:48.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.464 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:48.464 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.464 +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/18 21:50:48.467 +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-18 21:50:48.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.467 +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-18 21:50:48.466 +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/18 21:50:48.473 +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-18 21:50:48.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.476 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=308.547µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.477 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.477 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:48.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.162252ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.481 +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-18 21:50:48.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.484 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:48.484 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.485 +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/18 21:50:48.488 +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-18 21:50:48.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.488 +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-18 21:50:48.486 +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/18 21:50:48.494 +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-18 21:50:48.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.498 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=322.656µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:48.499 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.499 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:48.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=49] ["take time"=3.000693ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:48.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.504 +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-18 21:50:48.486 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:48.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.507 +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/18 21:50:48.509 +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-18 21:50:48.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.509 +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-18 21:50:48.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:48.515 +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-18 21:50:48.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.517 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=76.009µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:48.518 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.518 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:48.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=50] ["take time"=2.272393ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:48.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.523 +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-18 21:50:48.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.526 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:48.526 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.529 +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-18 21:50:48.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:48.529 +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-18 21:50:48.528 +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/18 21:50:48.536 +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-18 21:50:48.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.539 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=217.502µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:48.540 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:48.540 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:48.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=51] ["take time"=2.166698ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:48.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.544 +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-18 21:50:48.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:48.547 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:48.547 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:48.580 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.428894882s] [2024/05/18 21:50:48.581 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ab0111c5-3c47-4a84-ae77-5c15b13e6f84] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=1.903µs] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=1.357µs] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=892ns] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=1.445µs] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=1.161µs] [2024/05/18 21:50:48.581 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:48.581 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:48.581 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:48.584 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=ab0111c5-3c47-4a84-ae77-5c15b13e6f84] ["take time"=3.222974ms] [2024/05/18 21:50:48.584 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=ab0111c5-3c47-4a84-ae77-5c15b13e6f84] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:48.584 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:48.584 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:48.584 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:48.584 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:48.584 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:48.584 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:48.584 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:48.584 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.489317ms] [2024/05/18 21:50:48.584 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9805cea7-a799-4778-b969-8ef71c88ae43] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/18 21:50:48.592 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:48.592 +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/18 21:50:48.629 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=37.03446ms] [2024/05/18 21:50:48.643 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:48.643 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] [runWorker=true] [2024/05/18 21:50:48.643 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:48.643 +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/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:48.643 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:48.643 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:48.643 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:48.644 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:48.644 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:48.644 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:48.644 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:48.652 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:48.652 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:48.665 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:48.668 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:48.670 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:48.670 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:48.670 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:48.670 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:48.670 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:48.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:48.672 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:48.672 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:48.672 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:48.673 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:48.673 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:48.673 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:48.695 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:48.695 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:49.647 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/18 21:50:49.647 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/18 21:50:49.647 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/18 21:50:49.647 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:49.673 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/18 21:50:49.673 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/18 21:50:49.673 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/18 21:50:49.675 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/18 21:50:49.675 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/18 21:50:49.675 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/18 21:50:49.675 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/18 21:50:50.647 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/18 21:50:51.155 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=10.401398ms] [2024/05/18 21:50:51.155 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:53.673 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=5.846µs] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=5.029µs] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=4.223µs] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=4.448µs] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=3.297µs] [2024/05/18 21:50:53.673 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:53.673 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:53.673 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:53.674 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] ["take time"=466.351µs] [2024/05/18 21:50:53.674 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] [2024/05/18 21:50:53.674 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:53.674 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/18 21:50:53.674 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:53.674 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:53.674 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:53.674 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:53.674 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:53.674 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:53.674 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:53.674 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:53.674 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:53.674 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] [2024/05/18 21:50:53.675 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/18 21:50:53.675 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/18 21:50:53.675 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d378bff9-963b-44fe-91b2-1eb1b64a4bd0] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:53.675 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:53.675 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:53.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:53.676 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.433556ms] [2024/05/18 21:50:53.677 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:53.678 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:53.678 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:53.678 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:53.678 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:53.678 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCheckOwner (6.56s) === RUN TestModifyColumnNullToNotNullWithChangingVal [2024/05/18 21:50:53.682 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:53.682 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:53.682 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:53.683 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:53.683 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:53.683 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:53.685 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=13ac203c-552a-4d4e-b411-3652cbadbef8] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/18 21:50:53.692 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:53.692 +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/18 21:50:53.692 +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.TestModifyColumnNullToNotNullWithChangingVal\n\tpkg/ddl/modify_column_test.go:247\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:53.698 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=5.731738ms] [2024/05/18 21:50:53.698 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:53.698 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=babc18b3-9d47-47e0-acbf-57fc88fd252d] [runWorker=true] [2024/05/18 21:50:53.699 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:53.699 +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/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:53.699 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:53.699 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:53.699 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:53.699 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:53.699 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:53.699 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:53.699 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:53.700 +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/18 21:50:53.703 +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-18 21:50:53.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.703 +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-18 21:50:53.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:53.709 +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-18 21:50:53.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.714 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.271062ms] [2024/05/18 21:50:53.714 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:53.715 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.715 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:53.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=1] ["take time"=6.451477ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:53.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.721 +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-18 21:50:53.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.724 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:53.724 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.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/18 21:50:53.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/18 21:50:53.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-18 21:50:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.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-18 21:50:53.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/18 21:50:53.738 +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-18 21:50:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.746 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=841.483µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.748 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.748 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:53.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=2] ["take time"=4.323087ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.759 +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-18 21:50:53.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.765 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:53.765 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.765 +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/18 21:50:53.768 +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-18 21:50:53.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.768 +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-18 21:50:53.767 +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/18 21:50:53.773 +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-18 21:50:53.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.775 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=196.282µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.776 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.776 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:53.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=3] ["take time"=3.039641ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.782 +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-18 21:50:53.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.785 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:53.785 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.786 +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/18 21:50:53.789 +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-18 21:50:53.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.789 +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-18 21:50:53.787 +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/18 21:50:53.793 +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-18 21:50:53.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.796 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=243.44µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.797 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.797 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:53.798 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.659056ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.806 +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-18 21:50:53.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.810 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:53.810 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.810 +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/18 21:50:53.817 +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-18 21:50:53.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.817 +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-18 21:50:53.812 +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/18 21:50:53.823 +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-18 21:50:53.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.829 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=430.941µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.830 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.830 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:53.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=5] ["take time"=2.197829ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.836 +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-18 21:50:53.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.840 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:53.840 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.841 +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/18 21:50:53.844 +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-18 21:50:53.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.844 +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-18 21:50:53.842 +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/18 21:50:53.849 +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-18 21:50:53.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.853 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=372.243µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.853 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.854 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:53.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.326627ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.859 +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-18 21:50:53.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.864 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:53.864 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.864 +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/18 21:50:53.868 +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-18 21:50:53.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.868 +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-18 21:50:53.866 +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/18 21:50:53.876 +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-18 21:50:53.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.879 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=335.364µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.880 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.880 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:53.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=7] ["take time"=3.002963ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.886 +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-18 21:50:53.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.889 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:53.889 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.890 +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/18 21:50:53.892 +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-18 21:50:53.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.892 +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-18 21:50:53.891 +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/18 21:50:53.898 +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-18 21:50:53.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.901 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=272.658µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.902 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.902 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:53.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=8] ["take time"=2.029224ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.909 +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-18 21:50:53.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.912 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:53.912 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.912 +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/18 21:50:53.915 +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-18 21:50:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.915 +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-18 21:50:53.914 +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/18 21:50:53.921 +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-18 21:50:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=187.247µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.926 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.926 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:53.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=9] ["take time"=2.993214ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.932 +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-18 21:50:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.935 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:53.935 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.936 +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/18 21:50:53.938 +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-18 21:50:53.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.938 +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-18 21:50:53.937 +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/18 21:50:53.944 +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-18 21:50:53.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.948 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=316.236µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.949 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.949 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:53.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=10] ["take time"=2.1879ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.957 +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-18 21:50:53.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.961 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:53.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.962 +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/18 21:50:53.964 +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-18 21:50:53.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.964 +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-18 21:50:53.963 +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/18 21:50:53.970 +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-18 21:50:53.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.973 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=271.193µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.974 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.974 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:53.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=11] ["take time"=2.93301ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.980 +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-18 21:50:53.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.983 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:53.983 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:53.984 +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/18 21:50:53.984 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:53.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-18 21:50:53.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:53.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-18 21:50:53.985 +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/18 21:50:53.991 +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-18 21:50:53.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:53.996 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=387.435µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:53.997 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:53.997 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:53.998 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.58219ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:53.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.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-18 21:50:53.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.005 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:54.005 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.005 +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/18 21:50:54.008 +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-18 21:50:54.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.008 +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-18 21:50:54.006 +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/18 21:50:54.014 +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-18 21:50:54.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.017 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=254.365µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.018 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.018 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:54.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=13] ["take time"=2.074058ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.023 +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-18 21:50:54.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.026 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:54.026 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.027 +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/18 21:50:54.029 +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-18 21:50:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.029 +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-18 21:50:54.028 +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/18 21:50:54.035 +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-18 21:50:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=217.141µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.038 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.038 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:54.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=14] ["take time"=2.615419ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.044 +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-18 21:50:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.047 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:54.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.047 +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/18 21:50:54.049 +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-18 21:50:54.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.049 +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-18 21:50:54.048 +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/18 21:50:54.054 +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-18 21:50:54.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.057 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=293.452µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.058 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.058 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:54.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=15] ["take time"=2.067506ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.065 +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-18 21:50:54.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.068 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:54.068 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.068 +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/18 21:50:54.070 +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-18 21:50:54.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.071 +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-18 21:50:54.069 +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/18 21:50:54.076 +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-18 21:50:54.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.079 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=228.955µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.081 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.081 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:54.082 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=3.364202ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.088 +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-18 21:50:54.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.091 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:54.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.091 +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/18 21:50:54.094 +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-18 21:50:54.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.094 +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-18 21:50:54.093 +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/18 21:50:54.101 +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-18 21:50:54.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.104 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=312.041µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.106 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.106 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:54.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=17] ["take time"=3.040395ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.118 +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-18 21:50:54.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.122 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:54.122 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.122 +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/18 21:50:54.125 +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-18 21:50:54.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.125 +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-18 21:50:54.124 +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/18 21:50:54.131 +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-18 21:50:54.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.136 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=270.218µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.137 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.137 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:54.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=18] ["take time"=2.99065ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.144 +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-18 21:50:54.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.149 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:54.149 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.149 +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/18 21:50:54.153 +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-18 21:50:54.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.153 +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-18 21:50:54.151 +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/18 21:50:54.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-18 21:50:54.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.166 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=478.495µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.168 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.168 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:54.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.691962ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.179 +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-18 21:50:54.151 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.183 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:54.183 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.185 +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/18 21:50:54.188 +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-18 21:50:54.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.188 +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-18 21:50:54.186 +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/18 21:50:54.193 +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-18 21:50:54.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.197 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=316.749µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.198 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.198 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:54.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"=2.28241ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.207 +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-18 21:50:54.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.211 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:54.211 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.211 +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/18 21:50:54.214 +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-18 21:50:54.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.214 +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-18 21:50:54.213 +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/18 21:50:54.222 +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-18 21:50:54.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.224 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=209.849µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.225 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.225 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:54.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=21] ["take time"=2.579428ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.230 +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-18 21:50:54.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.233 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:54.233 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.233 +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/18 21:50:54.235 +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-18 21:50:54.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.235 +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-18 21:50:54.234 +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/18 21:50:54.240 +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-18 21:50:54.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.242 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=199.731µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.243 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.243 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:54.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=22] ["take time"=2.836862ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.251 +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-18 21:50:54.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.254 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:54.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.254 +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/18 21:50:54.256 +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-18 21:50:54.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.256 +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-18 21:50:54.255 +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/18 21:50:54.262 +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-18 21:50:54.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.265 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=252.771µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.266 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.266 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:54.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=23] ["take time"=2.504907ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.272 +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-18 21:50:54.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.275 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:54.275 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.275 +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/18 21:50:54.277 +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-18 21:50:54.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.278 +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-18 21:50:54.277 +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/18 21:50:54.284 +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-18 21:50:54.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.286 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=185.419µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.287 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.287 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:54.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=24] ["take time"=2.83216ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.293 +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-18 21:50:54.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.296 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:54.296 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.296 +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/18 21:50:54.299 +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-18 21:50:54.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.299 +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-18 21:50:54.297 +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/18 21:50:54.303 +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-18 21:50:54.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.306 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=203.711µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.307 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.307 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:54.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=25] ["take time"=2.057431ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.314 +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-18 21:50:54.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.317 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:54.317 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.318 +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/18 21:50:54.320 +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-18 21:50:54.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.320 +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-18 21:50:54.319 +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/18 21:50:54.326 +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-18 21:50:54.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.328 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=191.233µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.329 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.329 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:54.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=26] ["take time"=2.018987ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.334 +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-18 21:50:54.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.337 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:54.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.337 +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/18 21:50:54.341 +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-18 21:50:54.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.341 +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-18 21:50:54.338 +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/18 21:50:54.345 +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-18 21:50:54.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.347 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=179.414µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.348 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:54.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=27] ["take time"=2.019525ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.357 +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-18 21:50:54.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.360 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:54.360 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.361 +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/18 21:50:54.363 +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-18 21:50:54.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.363 +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-18 21:50:54.362 +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/18 21:50:54.370 +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-18 21:50:54.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.372 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=284.731µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.373 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.373 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:54.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=28] ["take time"=2.07643ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.378 +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-18 21:50:54.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.380 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:54.380 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.381 +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/18 21:50:54.381 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:54.383 +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-18 21:50:54.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.383 +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-18 21:50:54.382 +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/18 21:50:54.389 +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-18 21:50:54.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.392 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=333.833µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.393 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.393 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:54.399 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=7.933729ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.410 +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-18 21:50:54.382 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.415 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:54.415 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.415 +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/18 21:50:54.422 +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-18 21:50:54.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.422 +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-18 21:50:54.42 +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/18 21:50:54.429 +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-18 21:50:54.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.433 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=355.372µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.435 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.435 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:54.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=30] ["take time"=2.019487ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.440 +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-18 21:50:54.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.443 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:54.443 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.444 +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/18 21:50:54.447 +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-18 21:50:54.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.447 +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-18 21:50:54.445 +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/18 21:50:54.453 +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-18 21:50:54.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.456 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=261.643µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.457 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.457 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:54.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=31] ["take time"=2.712647ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.465 +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-18 21:50:54.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.468 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:54.468 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.468 +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/18 21:50:54.472 +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-18 21:50:54.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.472 +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-18 21:50:54.47 +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/18 21:50:54.477 +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-18 21:50:54.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=436.417µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.483 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:54.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=32] ["take time"=2.557091ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.489 +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-18 21:50:54.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.496 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:54.497 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.497 +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/18 21:50:54.503 +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-18 21:50:54.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.503 +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-18 21:50:54.498 +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/18 21:50:54.510 +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-18 21:50:54.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.513 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=194.319µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.514 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.514 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:54.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=33] ["take time"=2.481825ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.520 +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-18 21:50:54.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.523 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:54.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.527 +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-18 21:50:54.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.527 +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-18 21:50:54.525 +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/18 21:50:54.532 +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-18 21:50:54.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.535 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=317.416µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:54.537 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.537 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:54.537 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.092723ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:54.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.541 +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-18 21:50:54.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.546 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:54.546 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.547 +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/18 21:50:54.549 +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-18 21:50:54.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.549 +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-18 21:50:54.548 +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/18 21:50:54.556 +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-18 21:50:54.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.558 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=284.859µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.560 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.560 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:54.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=35] ["take time"=2.776111ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.565 +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-18 21:50:54.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.568 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:54.568 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.568 +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/18 21:50:54.571 +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-18 21:50:54.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.571 +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-18 21:50:54.57 +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/18 21:50:54.577 +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-18 21:50:54.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.580 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=265.752µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.581 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.581 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:54.582 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.483732ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.587 +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-18 21:50:54.57 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.590 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:54.590 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.590 +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/18 21:50:54.594 +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-18 21:50:54.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.594 +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-18 21:50:54.591 +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/18 21:50:54.601 +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-18 21:50:54.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.603 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=241.551µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.605 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.605 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:54.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=37] ["take time"=2.009916ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.609 +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-18 21:50:54.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.612 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:54.612 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.613 +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/18 21:50:54.616 +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-18 21:50:54.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.617 +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-18 21:50:54.614 +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/18 21:50:54.622 +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-18 21:50:54.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.627 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=512.171µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.628 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.628 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:54.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=38] ["take time"=2.456919ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.633 +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-18 21:50:54.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.638 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:54.638 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.639 +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/18 21:50:54.642 +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-18 21:50:54.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.642 +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-18 21:50:54.64 +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/18 21:50:54.646 +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-18 21:50:54.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.651 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=450.919µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.652 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.652 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:54.652 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.027314ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.659 +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-18 21:50:54.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.665 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:54.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.665 +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/18 21:50:54.670 +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-18 21:50:54.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.670 +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-18 21:50:54.667 +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/18 21:50:54.676 +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-18 21:50:54.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.681 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=550.5µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.683 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.683 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:54.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=40] ["take time"=4.752681ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.692 +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-18 21:50:54.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.697 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:54.697 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.697 +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/18 21:50:54.700 +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/18 21:50:54.701 +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-18 21:50:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.701 +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-18 21:50:54.699 +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/18 21:50:54.707 +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-18 21:50:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.712 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=537.622µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.713 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.713 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:54.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=41] ["take time"=2.541135ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.719 +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-18 21:50:54.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.723 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:54.723 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.723 +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/18 21:50:54.727 +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-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.727 +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-18 21:50:54.725 +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/18 21:50:54.736 +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-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.740 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=501.503µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.742 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.742 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:54.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=42] ["take time"=4.419494ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.749 +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-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.753 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:54.753 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.753 +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/18 21:50:54.757 +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-18 21:50:54.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.757 +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-18 21:50:54.755 +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/18 21:50:54.763 +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-18 21:50:54.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.768 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=523.074µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.769 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.769 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:54.771 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.018303ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.776 +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-18 21:50:54.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.780 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:54.780 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.780 +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/18 21:50:54.783 +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-18 21:50:54.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.784 +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-18 21:50:54.782 +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/18 21:50:54.789 +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-18 21:50:54.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.792 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=398.189µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.794 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.794 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:54.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.272297ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.799 +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-18 21:50:54.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.803 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:54.803 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.804 +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/18 21:50:54.807 +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-18 21:50:54.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.807 +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-18 21:50:54.805 +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/18 21:50:54.821 +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-18 21:50:54.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.824 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=323.786µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.825 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.826 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:54.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=45] ["take time"=2.030134ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.830 +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-18 21:50:54.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.834 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:54.834 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.835 +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/18 21:50:54.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-18 21:50:54.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.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-18 21:50:54.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/18 21:50:54.845 +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-18 21:50:54.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.850 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=613.98µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.851 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.851 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:54.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=46] ["take time"=4.060232ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.870 +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-18 21:50:54.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.874 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:54.874 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.874 +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/18 21:50:54.877 +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-18 21:50:54.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.877 +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-18 21:50:54.875 +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/18 21:50:54.884 +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-18 21:50:54.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.889 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=376.912µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.891 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.891 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:54.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=47] ["take time"=6.748564ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.901 +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-18 21:50:54.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.905 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:54.905 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.906 +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/18 21:50:54.909 +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-18 21:50:54.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.909 +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-18 21:50:54.907 +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/18 21:50:54.916 +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-18 21:50:54.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.920 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=291.11µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.922 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.922 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:54.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=48] ["take time"=2.182833ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.929 +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-18 21:50:54.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.932 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:54.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.933 +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/18 21:50:54.936 +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-18 21:50:54.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.936 +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-18 21:50:54.934 +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/18 21:50:54.956 +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-18 21:50:54.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.961 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=593.527µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.963 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.963 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:54.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=49] ["take time"=8.345685ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.988 +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-18 21:50:54.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:55.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.006 +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/18 21:50:55.014 +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-18 21:50:55.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.014 +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-18 21:50:55.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:55.041 +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-18 21:50:55.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.043 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.256µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:55.044 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.044 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:55.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=50] ["take time"=2.151644ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:55.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.052 +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-18 21:50:55.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.054 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:55.054 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.058 +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-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.058 +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-18 21:50:55.057 +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/18 21:50:55.064 +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-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.067 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=233.841µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:55.069 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.069 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:55.069 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.057761ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.075 +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-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.079 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:55.079 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.122 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.422741366s] [2024/05/18 21:50:55.122 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=babc18b3-9d47-47e0-acbf-57fc88fd252d] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=2.609µs] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=1.96µs] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=1.162µs] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=1.25µs] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=1.853µs] [2024/05/18 21:50:55.122 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.122 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:55.122 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:55.128 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=babc18b3-9d47-47e0-acbf-57fc88fd252d] ["take time"=6.179043ms] [2024/05/18 21:50:55.128 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=babc18b3-9d47-47e0-acbf-57fc88fd252d] [2024/05/18 21:50:55.128 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:55.128 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:55.128 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:55.128 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:55.128 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:55.128 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:55.128 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:55.128 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:55.128 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:55.129 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:55.129 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:55.129 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:55.129 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:55.129 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:55.129 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.756133ms] [2024/05/18 21:50:55.129 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=13ac203c-552a-4d4e-b411-3652cbadbef8] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/18 21:50:55.137 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:55.137 +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/18 21:50:55.155 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=16.90486ms] [2024/05/18 21:50:55.155 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:55.155 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=d224b503-5634-471e-a6d1-6ae5b647eeb3] [runWorker=true] [2024/05/18 21:50:55.156 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:55.157 +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/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:55.157 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:55.157 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:55.158 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:55.158 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:55.158 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:55.159 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:55.159 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:55.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:55.160 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:55.175 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:55.178 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:55.180 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:55.180 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:55.181 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:55.181 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:55.181 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:55.183 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:55.183 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:55.184 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:55.184 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:55.186 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:55.186 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:55.186 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:55.192 +00:00] [INFO] [set.go:170] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:55.198 +00:00] [INFO] [set.go:170] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:55.198 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=51] [cur_db=test] [sql="create table t1 (c1 int, c2 int)"] [user=] [2024/05/18 21:50:55.202 +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-18 21:50:55.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.202 +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-18 21:50:55.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (c1 int, c2 int)"] [2024/05/18 21:50:55.209 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:55.209 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:55.216 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=9] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.219 +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/18 21:50:55.247 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=28.050421ms] [2024/05/18 21:50:55.257 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:55.259 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:55.259 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=40.62195ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.270 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=9] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.273 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:55.273 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.274 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=52] [cur_db=test] [sql="alter table t1 change c2 c2 tinyint not null"] [user=] [2024/05/18 21:50:55.278 +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-18 21:50:55.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:50:55.278 +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-18 21:50:55.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 change c2 c2 tinyint not null"] [2024/05/18 21:50:55.286 +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-18 21:50:55.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.287 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=9] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.289 +00:00] [WARN] [ddl_worker.go:1171] ["run DDL job error"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=9] [error="[ddl:1265]Data truncated for column 'c2' at row 1"] [errorVerbose="[ddl:1265]Data truncated for column 'c2' at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkForNullValue\n\tpkg/ddl/column.go:1781\ngithub.com/pingcap/tidb/pkg/ddl.modifyColsFromNull2NotNull\n\tpkg/ddl/column.go:1938\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).doModifyColumnTypeWithData\n\tpkg/ddl/column.go:697\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onModifyColumn\n\tpkg/ddl/column.go:621\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go: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/18 21:50:55.289 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.290 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/18 21:50:55.291 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.298 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.298 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=9] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.299 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.301 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=296.04µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:50:55.302 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/18 21:50:55.303 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.570975ms] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.304 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.311 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="modify column"] [2024/05/18 21:50:55.311 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=9] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.314 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/18 21:50:55.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.277 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.318 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=106] [2024/05/18 21:50:55.318 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:55.318 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:1265]Data truncated for column 'c2' at row 1"] [errorVerbose="[ddl:1265]Data truncated for column 'c2' at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1322\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ChangeColumn\n\tpkg/ddl/ddl_api.go:6224\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3965\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.TestModifyColumnNullToNotNullWithChangingVal\n\tpkg/ddl/modify_column_test.go:272\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 9,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:55.321 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=53] [cur_db=test] [sql="alter table t1 change c2 c2 tinyint not null"] [user=] [2024/05/18 21:50:55.324 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:50:55.324 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 change c2 c2 tinyint not null"] [2024/05/18 21:50:55.333 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.333 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.334 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.336 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=217.139µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:50:55.338 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=54] [2024/05/18 21:50:55.339 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.485663ms] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.345 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.345 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:55.346 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=54] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go: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.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go: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"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:55.346 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.347 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.349 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=226.615µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:50:55.350 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=55] [2024/05/18 21:50:55.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=55] ["take time"=2.026917ms] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.352 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.357 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.357 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:55.358 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=55] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go: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.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go: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"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:55.358 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.358 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.360 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=238.683µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:50:55.361 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=56] [2024/05/18 21:50:55.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=56] ["take time"=2.007878ms] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.363 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.366 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.366 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:55.366 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=56] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go: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.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go: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"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:55.367 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.367 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{104 t1 utf8mb4 utf8mb4_bin [0xc01784fa20 0xc01784fb80 0xc01784fce0] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449857206447505408 0 0 0 0 0 0 5 false disable 4 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:50:55.367 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=] [endKey=] [2024/05/18 21:50:55.369 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.370 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/18 21:50:55.371 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.376 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.376 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:55.376 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=56] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go: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.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go: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"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:55.376 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.378 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:3,StartKey:,EndKey:,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/18 21:50:55.379 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=] ["end key"=] [2024/05/18 21:50:55.379 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=104] [2024/05/18 21:50:55.379 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=107] [2024/05/18 21:50:55.379 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=107] [2024/05/18 21:50:55.379 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=107] [2024/05/18 21:50:55.379 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=107] [2024/05/18 21:50:55.379 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/18 21:50:55.380 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{104 t1 utf8mb4 utf8mb4_bin [0xc016c0adc0 0xc016c0af20 0xc016c0b080] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449857206447505408 0 0 0 0 0 0 5 false disable 4 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:50:55.380 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:50:55.380 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.382 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=236.488µs] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:50:55.383 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=57] [2024/05/18 21:50:55.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=57] ["take time"=2.835793ms] [job="ID:107, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.386 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.391 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="modify column"] [2024/05/18 21:50:55.391 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=107] [conn=9] [job="ID:107, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.396 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857206450126849, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:55.399 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:50:55.399 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.400 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:55.400 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=57] [error="[table:1364]Field 'c2' doesn't have a default value"] [errorVerbose="[table:1364]Field 'c2' doesn't have a default value\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.CheckNoDefaultValueForInsert\n\tpkg/table/column.go:554\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).getColDefaultValue\n\tpkg/executor/insert_common.go:587\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillColValue\n\tpkg/executor/insert_common.go:651\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:689\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go: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.TestModifyColumnNullToNotNullWithChangingVal\n\tpkg/ddl/modify_column_test.go:297\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 9,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:55.402 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d224b503-5634-471e-a6d1-6ae5b647eeb3] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=2.039µs] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=1.388µs] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=1.401µs] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=1.137µs] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=1.176µs] [2024/05/18 21:50:55.402 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.402 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:55.402 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:55.403 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=d224b503-5634-471e-a6d1-6ae5b647eeb3] ["take time"=2.786872ms] [2024/05/18 21:50:55.403 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=d224b503-5634-471e-a6d1-6ae5b647eeb3] [2024/05/18 21:50:55.403 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:55.403 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:55.403 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.403 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.403 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.403 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.403 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:55.403 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.403 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.403 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.403 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d224b503-5634-471e-a6d1-6ae5b647eeb3] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:55.404 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d224b503-5634-471e-a6d1-6ae5b647eeb3] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:55.404 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:55.404 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.293063ms] [2024/05/18 21:50:55.406 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:55.406 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:55.406 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:55.406 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:55.406 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:55.406 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestModifyColumnNullToNotNullWithChangingVal (1.73s) === RUN TestDropTablePartitionGCPlacement [2024/05/18 21:50:55.423 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:55.423 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.423 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.424 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.424 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.425 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.427 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b4d56848-94cd-4e12-9bd0-1a4fa7d38625] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:55.434 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:55.434 +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/18 21:50:55.435 +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.TestDropTablePartitionGCPlacement\n\tpkg/ddl/placement_policy_test.go:1502\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:55.454 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.385229ms] [2024/05/18 21:50:55.456 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:55.456 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=51f864f7-b3a4-4442-a937-32941ba61af2] [runWorker=true] [2024/05/18 21:50:55.458 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:55.458 +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/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:55.458 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:55.458 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:55.458 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:55.458 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:55.458 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:55.458 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:55.459 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:55.459 +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/18 21:50:55.462 +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-18 21:50:55.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.462 +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-18 21:50:55.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:55.468 +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-18 21:50:55.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.489 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.158105ms] [2024/05/18 21:50:55.491 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:55.493 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.493 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:55.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=1] ["take time"=24.661285ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:55.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.501 +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-18 21:50:55.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.503 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:55.503 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.504 +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/18 21:50:55.505 +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/18 21:50:55.513 +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-18 21:50:55.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.513 +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-18 21:50:55.507 +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/18 21:50:55.521 +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-18 21:50:55.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.531 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.308372ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.532 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.532 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:55.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=5.212337ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.544 +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-18 21:50:55.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.551 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:55.551 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.552 +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/18 21:50:55.555 +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-18 21:50:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.555 +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-18 21:50:55.553 +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/18 21:50:55.561 +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-18 21:50:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.565 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=294.941µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.566 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.566 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:55.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=3] ["take time"=2.042211ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.571 +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-18 21:50:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.578 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:55.578 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.579 +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/18 21:50:55.582 +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-18 21:50:55.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.582 +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-18 21:50:55.58 +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/18 21:50:55.590 +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-18 21:50:55.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.594 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=254.075µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.595 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.595 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:55.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=4] ["take time"=4.646456ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.604 +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-18 21:50:55.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.607 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:55.607 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.608 +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/18 21:50:55.613 +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-18 21:50:55.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.613 +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-18 21:50:55.61 +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/18 21:50:55.623 +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-18 21:50:55.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=774.21µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.631 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:55.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=5] ["take time"=13.644418ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.647 +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-18 21:50:55.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.653 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:55.653 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.653 +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/18 21:50:55.657 +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-18 21:50:55.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.657 +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-18 21:50:55.655 +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/18 21:50:55.662 +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-18 21:50:55.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.666 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=341.933µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.667 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.667 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:55.668 +00:00] [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.180505ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.674 +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-18 21:50:55.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.678 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:55.679 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.679 +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/18 21:50:55.684 +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-18 21:50:55.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.684 +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-18 21:50:55.682 +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/18 21:50:55.690 +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-18 21:50:55.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.693 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=325.061µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.694 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.694 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:55.695 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.987966ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.700 +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-18 21:50:55.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.704 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:55.704 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.704 +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/18 21:50:55.707 +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-18 21:50:55.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.707 +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-18 21:50:55.706 +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/18 21:50:55.713 +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-18 21:50:55.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.716 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=229.962µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.717 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.717 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:55.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=8] ["take time"=2.008673ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.722 +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-18 21:50:55.706 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.725 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:55.725 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.725 +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/18 21:50:55.728 +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-18 21:50:55.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.728 +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-18 21:50:55.727 +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/18 21:50:55.735 +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-18 21:50:55.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.738 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=304.096µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.739 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.739 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:55.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=9] ["take time"=2.579287ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.746 +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-18 21:50:55.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.749 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:55.749 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.750 +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/18 21:50:55.753 +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-18 21:50:55.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.753 +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-18 21:50:55.751 +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/18 21:50:55.760 +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-18 21:50:55.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.763 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=294.37µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.764 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.764 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:55.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=10] ["take time"=2.02815ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.769 +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-18 21:50:55.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.774 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:55.774 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.775 +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/18 21:50:55.778 +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-18 21:50:55.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.778 +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-18 21:50:55.776 +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/18 21:50:55.808 +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-18 21:50:55.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.811 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=310.089µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.812 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.813 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:55.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=11] ["take time"=2.060596ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.818 +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-18 21:50:55.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.822 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:55.823 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.823 +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/18 21:50:55.823 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.826 +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-18 21:50:55.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.826 +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-18 21:50:55.825 +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/18 21:50:55.832 +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-18 21:50:55.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.837 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=433.17µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.838 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.838 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:55.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=12] ["take time"=2.161117ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.843 +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-18 21:50:55.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.848 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:55.848 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.848 +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/18 21:50:55.851 +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-18 21:50:55.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.852 +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-18 21:50:55.85 +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/18 21:50:55.857 +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-18 21:50:55.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.862 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=539.731µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.863 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.863 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:55.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=13] ["take time"=4.62014ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.879 +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-18 21:50:55.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.886 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:55.886 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.887 +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/18 21:50:55.890 +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-18 21:50:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.890 +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-18 21:50:55.888 +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/18 21:50:55.896 +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-18 21:50:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.899 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=311.126µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.900 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.900 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:55.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=14] ["take time"=2.163894ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.906 +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-18 21:50:55.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.910 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:55.910 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.911 +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/18 21:50:55.914 +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-18 21:50:55.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.914 +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-18 21:50:55.912 +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/18 21:50:55.921 +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-18 21:50:55.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=263.865µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.925 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.925 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:55.926 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.208941ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.930 +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-18 21:50:55.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.934 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:55.934 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.935 +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/18 21:50:55.938 +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-18 21:50:55.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.938 +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-18 21:50:55.936 +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/18 21:50:55.945 +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-18 21:50:55.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.948 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=244.892µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.949 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.949 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:55.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=16] ["take time"=2.359131ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.954 +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-18 21:50:55.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.957 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:55.957 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.957 +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/18 21:50:55.960 +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-18 21:50:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.960 +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-18 21:50:55.959 +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/18 21:50:55.967 +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-18 21:50:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.970 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=285.432µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.971 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.971 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:55.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=17] ["take time"=2.684686ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.978 +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-18 21:50:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.981 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:55.981 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.982 +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/18 21:50:55.985 +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-18 21:50:55.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.985 +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-18 21:50:55.983 +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/18 21:50:55.994 +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-18 21:50:55.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.997 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=303.957µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.998 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.998 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:55.999 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.938255ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.004 +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-18 21:50:55.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:56.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.007 +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/18 21:50:56.009 +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-18 21:50:56.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.010 +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-18 21:50:56.008 +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/18 21:50:56.017 +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-18 21:50:56.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.021 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=465.696µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.022 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.022 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:56.023 +00:00] [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"=3.073025ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.028 +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-18 21:50:56.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.032 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:56.032 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.033 +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/18 21:50:56.036 +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-18 21:50:56.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.036 +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-18 21:50:56.035 +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/18 21:50:56.045 +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-18 21:50:56.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.049 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=351.067µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.050 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.050 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:56.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=20] ["take time"=4.632637ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.058 +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-18 21:50:56.035 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.062 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:56.062 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.062 +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/18 21:50:56.065 +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-18 21:50:56.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.065 +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-18 21:50:56.064 +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/18 21:50:56.076 +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-18 21:50:56.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.080 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=224.95µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.081 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.081 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:56.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=21] ["take time"=2.073174ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.085 +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-18 21:50:56.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.089 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:56.089 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.090 +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/18 21:50:56.092 +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-18 21:50:56.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.092 +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-18 21:50:56.091 +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/18 21:50:56.100 +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-18 21:50:56.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.105 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=217.235µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.106 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.106 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:56.108 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.930099ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.119 +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-18 21:50:56.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.122 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:56.122 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.123 +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/18 21:50:56.126 +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-18 21:50:56.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.126 +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-18 21:50:56.124 +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/18 21:50:56.135 +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-18 21:50:56.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.139 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=303.258µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.140 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.140 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:56.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=23] ["take time"=2.288996ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.145 +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-18 21:50:56.124 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.149 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:56.149 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.149 +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/18 21:50:56.151 +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-18 21:50:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.151 +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-18 21:50:56.15 +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/18 21:50:56.159 +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-18 21:50:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.162 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=244.309µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.163 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.163 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:56.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=24] ["take time"=2.081861ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.169 +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-18 21:50:56.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.172 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:56.172 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.173 +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/18 21:50:56.175 +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-18 21:50:56.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.175 +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-18 21:50:56.174 +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/18 21:50:56.181 +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-18 21:50:56.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.185 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=282.284µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.186 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.186 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:56.187 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.970681ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.192 +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-18 21:50:56.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.195 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:56.195 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.196 +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/18 21:50:56.199 +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-18 21:50:56.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.199 +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-18 21:50:56.197 +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/18 21:50:56.206 +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-18 21:50:56.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.209 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=224.313µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.210 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.210 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:56.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=26] ["take time"=2.031107ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.215 +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-18 21:50:56.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.218 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:56.218 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.219 +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/18 21:50:56.222 +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-18 21:50:56.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.222 +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-18 21:50:56.221 +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/18 21:50:56.229 +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-18 21:50:56.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.232 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=224.537µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.233 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.233 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:56.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=27] ["take time"=2.87837ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.240 +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-18 21:50:56.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.243 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:56.243 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.243 +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/18 21:50:56.246 +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-18 21:50:56.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.246 +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-18 21:50:56.244 +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/18 21:50:56.255 +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-18 21:50:56.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.258 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=205.921µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.260 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.260 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:56.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=28] ["take time"=2.294367ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.269 +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-18 21:50:56.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.272 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:56.272 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.273 +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/18 21:50:56.273 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:56.276 +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-18 21:50:56.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.276 +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-18 21:50:56.274 +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/18 21:50:56.284 +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-18 21:50:56.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.288 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=320.706µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.290 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.290 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:56.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=29] ["take time"=4.470703ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.298 +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-18 21:50:56.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.302 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:56.302 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.302 +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/18 21:50:56.306 +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-18 21:50:56.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.306 +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-18 21:50:56.304 +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/18 21:50:56.312 +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-18 21:50:56.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=428.011µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.320 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.320 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:56.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=30] ["take time"=4.704821ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.328 +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-18 21:50:56.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.332 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:56.332 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.332 +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/18 21:50:56.335 +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-18 21:50:56.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.335 +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-18 21:50:56.334 +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/18 21:50:56.343 +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-18 21:50:56.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.347 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=377.967µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.348 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:56.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=31] ["take time"=3.104862ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.355 +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-18 21:50:56.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.359 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:56.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.360 +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/18 21:50:56.363 +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-18 21:50:56.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.363 +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-18 21:50:56.361 +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/18 21:50:56.370 +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-18 21:50:56.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.376 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=499.728µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.378 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.378 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:56.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=32] ["take time"=2.023287ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.383 +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-18 21:50:56.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.388 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:56.388 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.388 +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/18 21:50:56.391 +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-18 21:50:56.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.391 +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-18 21:50:56.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/18 21:50:56.398 +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-18 21:50:56.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.401 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=256.271µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.402 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.403 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:56.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=4.226844ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.410 +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-18 21:50:56.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.413 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:56.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.417 +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-18 21:50:56.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.417 +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-18 21:50:56.416 +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/18 21:50:56.425 +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-18 21:50:56.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.431 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=364.43µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:56.432 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.432 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:56.432 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.061058ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:56.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.437 +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-18 21:50:56.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.442 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:56.442 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.442 +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/18 21:50:56.445 +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-18 21:50:56.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.445 +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-18 21:50:56.444 +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/18 21:50:56.451 +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-18 21:50:56.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.456 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=376.296µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.457 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.457 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:56.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=35] ["take time"=2.30233ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.459 +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/18 21:50:56.467 +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-18 21:50:56.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.472 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:56.472 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.472 +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/18 21:50:56.476 +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-18 21:50:56.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.476 +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-18 21:50:56.474 +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/18 21:50:56.483 +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-18 21:50:56.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.487 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=239.476µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.488 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.488 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:56.489 +00:00] [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.888327ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.494 +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-18 21:50:56.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.497 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:56.498 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.498 +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/18 21:50:56.506 +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-18 21:50:56.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.506 +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-18 21:50:56.5 +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/18 21:50:56.513 +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-18 21:50:56.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.516 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=252.967µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.518 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.518 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:56.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=37] ["take time"=2.010463ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.523 +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-18 21:50:56.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.527 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:56.527 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.528 +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/18 21:50:56.532 +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-18 21:50:56.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.532 +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-18 21:50:56.53 +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/18 21:50:56.540 +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-18 21:50:56.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.546 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=573.315µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.547 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.547 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:56.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=38] ["take time"=2.042891ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.552 +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-18 21:50:56.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.557 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:56.557 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.558 +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/18 21:50:56.562 +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-18 21:50:56.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.562 +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-18 21:50:56.56 +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/18 21:50:56.569 +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-18 21:50:56.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.573 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=471.416µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.575 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.575 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:56.575 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.028595ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.580 +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-18 21:50:56.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.584 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:56.584 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.585 +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/18 21:50:56.588 +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-18 21:50:56.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.588 +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-18 21:50:56.586 +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/18 21:50:56.595 +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-18 21:50:56.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.600 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=474.152µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.601 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.601 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:56.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=40] ["take time"=2.436299ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.607 +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-18 21:50:56.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.611 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:56.612 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.612 +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/18 21:50:56.616 +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-18 21:50:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.616 +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-18 21:50:56.614 +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/18 21:50:56.624 +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-18 21:50:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=613.882µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.631 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:56.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=41] ["take time"=17.044914ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.652 +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-18 21:50:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.657 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:56.657 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.657 +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/18 21:50:56.661 +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-18 21:50:56.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.661 +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-18 21:50:56.659 +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/18 21:50:56.671 +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-18 21:50:56.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.676 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=437.28µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.678 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.678 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:56.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=42] ["take time"=2.763886ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.684 +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-18 21:50:56.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.689 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:56.689 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.689 +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/18 21:50:56.695 +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-18 21:50:56.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.695 +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-18 21:50:56.691 +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/18 21:50:56.708 +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-18 21:50:56.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.714 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=439.192µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.715 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.715 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:56.715 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.458354ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.721 +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-18 21:50:56.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.728 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:56.728 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.728 +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/18 21:50:56.732 +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-18 21:50:56.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.732 +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-18 21:50:56.73 +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/18 21:50:56.739 +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-18 21:50:56.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.743 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=388.581µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.745 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.745 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:56.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=44] ["take time"=4.029475ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.752 +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-18 21:50:56.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.755 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:56.756 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.756 +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/18 21:50:56.759 +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-18 21:50:56.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.759 +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-18 21:50:56.757 +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/18 21:50:56.766 +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-18 21:50:56.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.770 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=446.326µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.772 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.772 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:56.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=45] ["take time"=4.100222ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.779 +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-18 21:50:56.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.783 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:56.783 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.784 +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/18 21:50:56.788 +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-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.788 +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-18 21:50:56.785 +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/18 21:50:56.796 +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-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.800 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=463.824µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.802 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.802 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:56.802 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.033507ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.807 +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-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.812 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:56.812 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.813 +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/18 21:50:56.817 +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-18 21:50:56.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.817 +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-18 21:50:56.814 +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/18 21:50:56.824 +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-18 21:50:56.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.831 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=404.547µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.833 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.833 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:56.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=47] ["take time"=4.199449ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.840 +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-18 21:50:56.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.844 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:56.844 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.845 +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/18 21:50:56.848 +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-18 21:50:56.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.848 +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-18 21:50:56.847 +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/18 21:50:56.857 +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-18 21:50:56.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.861 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=394.062µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.863 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.863 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:56.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=48] ["take time"=4.766898ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.873 +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-18 21:50:56.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.877 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:56.877 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.878 +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/18 21:50:56.882 +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-18 21:50:56.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.882 +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-18 21:50:56.88 +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/18 21:50:56.892 +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-18 21:50:56.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.896 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=267.133µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.897 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.897 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:56.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=49] ["take time"=7.989082ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.909 +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-18 21:50:56.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.913 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:56.913 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.913 +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/18 21:50:56.916 +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-18 21:50:56.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.917 +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-18 21:50:56.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:56.927 +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-18 21:50:56.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=69.29µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:56.930 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.930 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:56.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=50] ["take time"=2.242347ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:56.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.937 +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-18 21:50:56.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.941 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:56.941 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.945 +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-18 21:50:56.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.945 +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-18 21:50:56.943 +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/18 21:50:56.953 +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-18 21:50:56.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.956 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=287.231µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:56.958 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.958 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:56.959 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.794905ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:56.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.964 +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-18 21:50:56.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.968 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:56.968 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.002 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.543785227s] [2024/05/18 21:50:57.002 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=51f864f7-b3a4-4442-a937-32941ba61af2] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 75, tp add index"] [category=ddl] ["take time"=6.89µs] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 72, tp add index"] [category=ddl] ["take time"=6.722µs] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 73, tp add index"] [category=ddl] ["take time"=6.225µs] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 74, tp add index"] [category=ddl] ["take time"=6.664µs] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 71, tp general"] [category=ddl] ["take time"=1.147µs] [2024/05/18 21:50:57.002 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.002 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:57.002 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:57.006 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=51f864f7-b3a4-4442-a937-32941ba61af2] ["take time"=3.942329ms] [2024/05/18 21:50:57.006 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=51f864f7-b3a4-4442-a937-32941ba61af2] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.171341ms] [2024/05/18 21:50:57.006 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b4d56848-94cd-4e12-9bd0-1a4fa7d38625] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:57.013 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:57.013 +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/18 21:50:57.038 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=24.515035ms] [2024/05/18 21:50:57.052 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:57.052 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=3694327b-4f97-426b-80ac-282195ba8c79] [runWorker=true] [2024/05/18 21:50:57.053 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:57.053 +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/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.053 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.053 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:57.053 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:57.053 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.053 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:57.053 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:57.054 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:57.061 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:57.061 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:57.074 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:57.077 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:57.079 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:57.079 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:57.080 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:57.080 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:57.080 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:57.081 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:57.081 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:57.081 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:57.081 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:57.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:57.083 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:57.083 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:57.088 +00:00] [INFO] [set.go:170] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:57.089 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t0,t1"] [user=] [2024/05/18 21:50:57.092 +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-18 21:50:57.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.092 +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-18 21:50:57.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p1 primary_region='r0' regions='r0'"] [2024/05/18 21:50:57.097 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=104] [conn=11] [category=ddl] [job="ID:104, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.099 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=79.809µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/18 21:50:57.100 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=104] [version=52] [2024/05/18 21:50:57.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=52] ["take time"=2.132231ms] [job="ID:104, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.104 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=104] [conn=11] [job="ID:104, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.107 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/18 21:50:57.107 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.109 +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-18 21:50:57.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.109 +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-18 21:50:57.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p2 primary_region='r1' regions='r1'"] [2024/05/18 21:50:57.117 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=11] [category=ddl] [job="ID:105, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=87.655µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/18 21:50:57.119 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=53] [2024/05/18 21:50:57.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=53] ["take time"=2.941139ms] [job="ID:105, Type:create placement policy, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.125 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=11] [job="ID:105, Type:create placement policy, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.128 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:57.128 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.130 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.130 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p3 primary_region='r2' regions='r2'"] [2024/05/18 21:50:57.136 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.138 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=79.511µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/18 21:50:57.139 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/18 21:50:57.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=54] ["take time"=2.037179ms] [job="ID:106, Type:create placement policy, State:done, SchemaState:public, SchemaID:3, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.145 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=106] [conn=11] [job="ID:106, Type:create placement policy, State:synced, SchemaState:public, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.147 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/18 21:50:57.147 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.148 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=54] [cur_db=test] [sql="create table t0 (id int)"] [user=] [2024/05/18 21:50:57.151 +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-18 21:50:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.151 +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-18 21:50:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t0 (id int)"] [2024/05/18 21:50:57.156 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=11] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.158 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=156.464µs] [gotSchemaVersion=55] [phyTblIDs="[107]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.160 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=55] [2024/05/18 21:50:57.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=55] ["take time"=2.294374ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.165 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=11] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.167 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/18 21:50:57.168 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.168 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=55] [cur_db=test] [sql="create table t1 (id int) placement policy p1"] [user=] [2024/05/18 21:50:57.171 +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-18 21:50:57.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.171 +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-18 21:50:57.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (id int) placement policy p1"] [2024/05/18 21:50:57.177 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=11] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.180 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=255.633µs] [gotSchemaVersion=56] [phyTblIDs="[109]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.181 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/18 21:50:57.185 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=5.06245ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.189 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=11] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.192 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/18 21:50:57.192 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.192 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=56] [cur_db=test] [sql="create table t2 (id int) placement policy p1 PARTITION BY RANGE (id) (\n PARTITION p0 VALUES LESS THAN (100) placement policy p2,\n PARTITION p1 VALUES LESS THAN (1000) placement policy p3\n\t)"] [user=] [2024/05/18 21:50:57.196 +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-18 21:50:57.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.196 +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-18 21:50:57.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2 (id int) placement policy p1 PARTITION BY RANGE (id) (\n PARTITION p0 VALUES LESS THAN (100) placement policy p2,\n PARTITION p1 VALUES LESS THAN (1000) placement policy p3\n\t)"] [2024/05/18 21:50:57.201 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.209 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=5.674994ms] [gotSchemaVersion=57] [phyTblIDs="[111,112,113]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.210 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2024/05/18 21:50:57.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=57] ["take time"=8.761017ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.216 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=11] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.219 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/18 21:50:57.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.219 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=57] [cur_db=test] [sql="alter table t2 drop partition p0"] [user=] [2024/05/18 21:50:57.221 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.221 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t2 drop partition p0"] [2024/05/18 21:50:57.229 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [category=ddl] [job="ID:115, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.231 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=554.051µs] [gotSchemaVersion=58] [phyTblIDs="[111,113]"] [actionTypes="[20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/18 21:50:57.232 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=58] [2024/05/18 21:50:57.233 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.076826ms] [job="ID:115, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.238 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [category=ddl] [job="ID:115, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.243 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=559.248µs] [gotSchemaVersion=59] [phyTblIDs="[111,113]"] [actionTypes="[20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/18 21:50:57.244 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2024/05/18 21:50:57.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=59] ["take time"=3.348003ms] [job="ID:115, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.251 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [category=ddl] [job="ID:115, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.254 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=621.517µs] [gotSchemaVersion=60] [phyTblIDs="[111,113]"] [actionTypes="[20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/18 21:50:57.255 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2024/05/18 21:50:57.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=60] ["take time"=2.092836ms] [job="ID:115, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.261 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[112]"] [comment="drop partition: physical table ID(s)"] [2024/05/18 21:50:57.263 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop partition"] [2024/05/18 21:50:57.263 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [job="ID:115, Type:drop partition, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.268 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/18 21:50:57.268 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.268 +00:00] [ERROR] [gc_worker.go:1764] ["deleteRanges is called"] [stack="github.com/pingcap/tidb/pkg/store/gcworker.(*MockGCWorker).DeleteRanges\n\tpkg/store/gcworker/gc_worker.go:1764\ngithub.com/pingcap/tidb/pkg/ddl_test.TestDropTablePartitionGCPlacement\n\tpkg/ddl/placement_policy_test.go:1545\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/18 21:50:57.270 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63e36bf0bd00001] [ranges=1] [2024/05/18 21:50:57.272 +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/18 21:50:57.272 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-112-r] [2024/05/18 21:50:57.272 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63e36bf0bd00001] ["num of ranges"=1] ["cost time"=2.351889ms] [2024/05/18 21:50:57.273 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=60] [cur_db=test] [sql="drop table if exists t2"] [user=] [2024/05/18 21:50:57.275 +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:111, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.275 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t2"] [2024/05/18 21:50:57.280 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.282 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=128.078µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.283 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=61] [2024/05/18 21:50:57.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=61] ["take time"=2.423041ms] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.289 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.291 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=48.032µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.292 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=62] [2024/05/18 21:50:57.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=62] ["take time"=7.778204ms] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.303 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.305 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=36.733µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.306 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=63] [2024/05/18 21:50:57.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=63] ["take time"=2.835094ms] [job="ID:116, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.312 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[113]"] [comment="drop table: partition table IDs"] [2024/05/18 21:50:57.313 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[111]"] [comment="drop table: table ID"] [2024/05/18 21:50:57.314 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop table"] [2024/05/18 21:50:57.314 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [job="ID:116, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:57.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.320 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/18 21:50:57.320 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.320 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=63] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/18 21:50:57.322 +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:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.322 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/18 21:50:57.327 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.329 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=73.214µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.330 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=64] [2024/05/18 21:50:57.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=64] ["take time"=2.816708ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.336 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.337 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=37.157µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.338 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=65] [2024/05/18 21:50:57.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=65] ["take time"=2.619548ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.344 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.346 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=30.612µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.346 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=66] [2024/05/18 21:50:57.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=66] ["take time"=2.245398ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.351 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[109]"] [comment="drop table: table ID"] [2024/05/18 21:50:57.352 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2024/05/18 21:50:57.353 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [job="ID:117, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:57.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.357 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/18 21:50:57.357 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.357 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=66] [cur_db=test] [sql="drop table if exists t0"] [user=] [2024/05/18 21:50:57.359 +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:107, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.359 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t0"] [2024/05/18 21:50:57.364 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.366 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=74.403µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.366 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=67] [2024/05/18 21:50:57.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=67] ["take time"=2.345027ms] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.371 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.375 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=43.798µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.376 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=68] [2024/05/18 21:50:57.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=68] ["take time"=2.784331ms] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.381 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.383 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=58.407µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:50:57.384 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=69] [2024/05/18 21:50:57.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=69] ["take time"=2.280163ms] [job="ID:118, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.389 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=118] [tableIDs="[107]"] [comment="drop table: table ID"] [2024/05/18 21:50:57.390 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop table"] [2024/05/18 21:50:57.390 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [job="ID:118, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:57.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.394 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/18 21:50:57.394 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.401 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.401 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:119, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p2"] [2024/05/18 21:50:57.405 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [category=ddl] [job="ID:119, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.411 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=34.348µs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:50:57.412 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=70] [2024/05/18 21:50:57.413 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=2.706043ms] [job="ID:119, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.417 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [category=ddl] [job="ID:119, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.423 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=30.286µs] [gotSchemaVersion=71] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:50:57.425 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=71] [2024/05/18 21:50:57.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=71] ["take time"=2.605635ms] [job="ID:119, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.429 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [category=ddl] [job="ID:119, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.438 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=36.174µs] [gotSchemaVersion=72] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:50:57.440 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=72] [2024/05/18 21:50:57.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=72] ["take time"=2.730869ms] [job="ID:119, Type:drop placement policy, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.446 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [job="ID:119, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.449 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=119] [2024/05/18 21:50:57.449 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.457 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.457 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:120, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p1"] [2024/05/18 21:50:57.463 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [category=ddl] [job="ID:120, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.471 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=36.604µs] [gotSchemaVersion=73] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:50:57.472 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=73] [2024/05/18 21:50:57.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=73] ["take time"=2.397788ms] [job="ID:120, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.478 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [category=ddl] [job="ID:120, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.484 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=27.196µs] [gotSchemaVersion=74] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:50:57.485 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=74] [2024/05/18 21:50:57.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=74] ["take time"=2.721467ms] [job="ID:120, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.491 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [category=ddl] [job="ID:120, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.497 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=31.963µs] [gotSchemaVersion=75] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:50:57.498 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=75] [2024/05/18 21:50:57.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=75] ["take time"=2.685081ms] [job="ID:120, Type:drop placement policy, State:done, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.504 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [job="ID:120, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/18 21:50:57.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.508 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=3694327b-4f97-426b-80ac-282195ba8c79] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 77, tp add index"] [category=ddl] ["take time"=3.311µs] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 78, tp add index"] [category=ddl] ["take time"=2.859µs] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 79, tp add index"] [category=ddl] ["take time"=2.502µs] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 80, tp add index"] [category=ddl] ["take time"=2.472µs] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 76, tp general"] [category=ddl] ["take time"=808ns] [2024/05/18 21:50:57.508 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.508 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:57.508 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:57.509 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=3694327b-4f97-426b-80ac-282195ba8c79] ["take time"=1.673405ms] [2024/05/18 21:50:57.509 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=3694327b-4f97-426b-80ac-282195ba8c79] [2024/05/18 21:50:57.509 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:57.509 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:57.509 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.509 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.509 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.509 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.509 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:57.509 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.509 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.509 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.509 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:57.510 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=3694327b-4f97-426b-80ac-282195ba8c79] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:57.510 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=3694327b-4f97-426b-80ac-282195ba8c79] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:57.510 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:57.510 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:57.511 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.262459ms] [2024/05/18 21:50:57.511 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:57.512 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:57.512 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:57.512 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:57.512 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:57.512 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestDropTablePartitionGCPlacement (2.11s) === RUN TestSkipSchemaChecker [2024/05/18 21:50:57.517 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:57.518 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.518 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.518 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.518 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.519 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.520 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=1535cdc4-0f95-486e-b1c3-e51991eeadbc] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/18 21:50:57.527 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:57.527 +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/18 21:50:57.527 +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.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:252\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:57.540 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=13.573255ms] [2024/05/18 21:50:57.542 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:57.542 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=1d6c3c5d-a6ce-42dd-85d5-2485dfcc988d] [runWorker=true] [2024/05/18 21:50:57.543 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:57.543 +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/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.544 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:57.544 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:57.544 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:57.544 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:57.544 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.544 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:57.544 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:57.544 +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/18 21:50:57.547 +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-18 21:50:57.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.547 +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-18 21:50:57.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:57.554 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.570 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=14.617121ms] [2024/05/18 21:50:57.572 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:57.574 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.574 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:57.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=1] ["take time"=20.933778ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.583 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.546 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.585 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:57.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.586 +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/18 21:50:57.587 +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/18 21:50:57.591 +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-18 21:50:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.591 +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-18 21:50:57.588 +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/18 21:50:57.597 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.606 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.322534ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.608 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.608 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:57.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=2] ["take time"=4.057404ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.615 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.620 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:57.620 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.621 +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/18 21:50:57.623 +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-18 21:50:57.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.623 +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-18 21:50:57.622 +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/18 21:50:57.629 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.632 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=285.618µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.633 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.633 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:57.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.397776ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.641 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.644 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:57.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.644 +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/18 21:50:57.646 +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-18 21:50:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.646 +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-18 21:50:57.645 +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/18 21:50:57.653 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.655 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=221.68µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.657 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.657 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:57.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=4] ["take time"=2.04098ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.663 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.667 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:57.667 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.668 +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/18 21:50:57.671 +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-18 21:50:57.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.671 +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-18 21:50:57.669 +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/18 21:50:57.676 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.680 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=482.035µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.681 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.681 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:57.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=5] ["take time"=2.719601ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.688 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.669 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.692 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:57.692 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.693 +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/18 21:50:57.696 +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-18 21:50:57.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.696 +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-18 21:50:57.695 +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/18 21:50:57.702 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.705 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=453.769µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.706 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.706 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:57.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=6] ["take time"=2.073916ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.711 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.714 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:57.714 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.714 +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/18 21:50:57.717 +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-18 21:50:57.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.717 +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-18 21:50:57.716 +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/18 21:50:57.724 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.728 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=612.851µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.730 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.730 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:57.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=7] ["take time"=4.596915ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.737 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.741 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:57.741 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.741 +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/18 21:50:57.746 +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-18 21:50:57.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.746 +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-18 21:50:57.745 +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/18 21:50:57.755 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.758 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=189.293µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.759 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.759 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50: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=8] ["take time"=2.081119ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.767 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.771 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:57.771 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.771 +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/18 21:50:57.774 +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-18 21:50:57.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.774 +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-18 21:50:57.773 +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/18 21:50:57.782 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.784 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=216.367µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.785 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.785 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:57.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=9] ["take time"=2.306716ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.791 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.794 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:57.794 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.795 +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/18 21:50:57.798 +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-18 21:50:57.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.798 +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-18 21:50:57.796 +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/18 21:50:57.805 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.808 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=362.744µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.810 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.810 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:57.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=10] ["take time"=2.949272ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.815 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.819 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:57.820 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.820 +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/18 21:50:57.823 +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-18 21:50:57.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.823 +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-18 21:50:57.821 +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/18 21:50:57.829 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.832 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=322.03µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.834 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.834 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:57.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=11] ["take time"=2.339026ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.840 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.844 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:57.844 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.844 +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/18 21:50:57.845 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.847 +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-18 21:50:57.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.847 +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-18 21:50:57.846 +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/18 21:50:57.852 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.856 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=471.316µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.857 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:57.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=12] ["take time"=3.305226ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.864 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.867 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:57.867 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.868 +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/18 21:50:57.871 +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-18 21:50:57.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.871 +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-18 21:50:57.869 +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/18 21:50:57.878 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.881 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=310.766µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.882 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.882 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:57.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=13] ["take time"=2.81558ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.887 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.890 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:57.890 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.891 +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/18 21:50:57.893 +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-18 21:50:57.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.893 +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-18 21:50:57.892 +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/18 21:50:57.899 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.901 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=207.434µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.903 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.903 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:57.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=14] ["take time"=2.01079ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.909 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.912 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:57.912 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.913 +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/18 21:50:57.915 +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-18 21:50:57.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.915 +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-18 21:50:57.914 +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/18 21:50:57.920 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=352.395µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.925 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.925 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:57.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=15] ["take time"=2.525249ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.930 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.933 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:57.933 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.933 +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/18 21:50:57.936 +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-18 21:50:57.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.936 +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-18 21:50:57.935 +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/18 21:50:57.945 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.948 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=207.945µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.949 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.949 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:57.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=16] ["take time"=2.236479ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.954 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.957 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:57.957 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.957 +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/18 21:50:57.960 +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-18 21:50:57.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.960 +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-18 21:50:57.959 +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/18 21:50:57.966 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.969 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=345.2µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.970 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.970 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:57.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=17] ["take time"=2.409647ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.975 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.978 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:57.978 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.979 +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/18 21:50:57.981 +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-18 21:50:57.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.981 +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-18 21:50:57.98 +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/18 21:50:57.987 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.990 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=254.796µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.991 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.991 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:57.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=18] ["take time"=2.332311ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.997 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.000 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:58.000 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.001 +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/18 21:50:58.005 +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-18 21:50:58.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.005 +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-18 21:50:58.003 +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/18 21:50:58.013 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.018 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=513.445µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.019 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.019 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:58.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=19] ["take time"=2.433524ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.025 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.028 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:58.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.030 +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/18 21:50:58.033 +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-18 21:50:58.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.033 +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-18 21:50:58.031 +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/18 21:50:58.040 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.050 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=353.443µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.052 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.052 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:58.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=20] ["take time"=3.026746ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.057 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.061 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:58.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.061 +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/18 21:50:58.064 +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-18 21:50:58.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.064 +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-18 21:50:58.063 +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/18 21:50:58.072 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.076 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=266.779µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.078 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.078 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:58.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=21] ["take time"=3.02517ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.083 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.086 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:58.086 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.087 +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/18 21:50:58.089 +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-18 21:50:58.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.089 +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-18 21:50:58.088 +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/18 21:50:58.097 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.100 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=200.137µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.101 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.101 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:58.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=22] ["take time"=2.025092ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.109 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.112 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:58.112 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.113 +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/18 21:50:58.116 +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-18 21:50:58.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.116 +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-18 21:50:58.114 +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/18 21:50:58.123 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.127 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=444.721µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.128 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.128 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:58.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.198265ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.132 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.136 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:58.136 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.136 +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/18 21:50:58.139 +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-18 21:50:58.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.139 +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-18 21:50:58.137 +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/18 21:50:58.146 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.150 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=298.313µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.151 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.151 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:58.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=24] ["take time"=2.008506ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.157 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.160 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:58.160 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.160 +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/18 21:50:58.164 +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-18 21:50:58.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.164 +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-18 21:50:58.162 +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/18 21:50:58.171 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=292.614µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.175 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.175 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:58.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=25] ["take time"=2.02223ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.180 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.183 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:58.183 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.184 +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/18 21:50:58.187 +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-18 21:50:58.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.187 +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-18 21:50:58.186 +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/18 21:50:58.195 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.198 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=269.337µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.199 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.199 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:58.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=26] ["take time"=4.019711ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.206 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.210 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:58.210 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.210 +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/18 21:50:58.213 +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-18 21:50:58.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.213 +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-18 21:50:58.211 +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/18 21:50:58.220 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.223 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=324.841µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.224 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.224 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:58.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=27] ["take time"=2.636375ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.230 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.233 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:58.233 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.233 +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/18 21:50:58.236 +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-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.236 +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-18 21:50:58.235 +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/18 21:50:58.243 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.246 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=270.782µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.247 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.247 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:58.247 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.020595ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.253 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.257 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:58.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.257 +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/18 21:50:58.258 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:58.260 +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-18 21:50:58.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.260 +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-18 21:50:58.259 +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/18 21:50:58.267 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.270 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=244.563µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.271 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.271 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:58.273 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=3.011023ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.279 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.283 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:58.283 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.283 +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/18 21:50:58.285 +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-18 21:50:58.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.285 +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-18 21:50:58.284 +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/18 21:50:58.301 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.305 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=468.826µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.307 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.307 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:58.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=30] ["take time"=2.00861ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.312 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.317 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:58.317 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.317 +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/18 21:50:58.320 +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-18 21:50:58.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.320 +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-18 21:50:58.318 +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/18 21:50:58.326 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.330 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=376.976µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.331 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.332 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:58.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=31] ["take time"=5.889754ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.343 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.347 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:58.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.348 +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/18 21:50:58.355 +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-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.355 +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-18 21:50:58.352 +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/18 21:50:58.362 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.366 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=496.052µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.367 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.367 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:58.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=32] ["take time"=4.401083ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.376 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.381 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:58.381 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.381 +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/18 21:50:58.384 +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-18 21:50:58.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.384 +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-18 21:50:58.383 +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/18 21:50:58.392 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.396 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=208.978µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.397 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.397 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:58.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=33] ["take time"=2.355427ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.402 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.405 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:58.405 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.409 +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-18 21:50:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.409 +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-18 21:50:58.408 +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/18 21:50:58.415 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.419 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=336.772µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:58.420 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.420 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:58.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=34] ["take time"=7.779743ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.432 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.442 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:58.442 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.443 +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/18 21:50:58.446 +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-18 21:50:58.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.446 +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-18 21:50:58.444 +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/18 21:50:58.451 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.454 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=345.983µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.456 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.456 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:58.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=35] ["take time"=20.766748ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.481 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.485 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:58.485 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.486 +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/18 21:50:58.489 +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-18 21:50:58.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.489 +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-18 21:50:58.487 +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/18 21:50:58.495 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.498 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=265.122µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.499 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.499 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:58.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=36] ["take time"=2.052368ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.507 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.510 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:58.510 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.511 +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/18 21:50:58.514 +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-18 21:50:58.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.514 +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-18 21:50:58.512 +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/18 21:50:58.521 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.523 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=235.154µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.525 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.525 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:58.525 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.318128ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.530 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.533 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:58.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.534 +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/18 21:50:58.537 +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-18 21:50:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.537 +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-18 21:50:58.535 +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/18 21:50:58.544 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.544 +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/18 21:50:58.550 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=566.691µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.551 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.551 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:58.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.387018ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.558 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.562 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:58.562 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.563 +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/18 21:50:58.566 +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-18 21:50:58.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.566 +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-18 21:50:58.564 +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/18 21:50:58.572 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.576 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=546.961µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.578 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.578 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:58.578 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.028648ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.582 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.586 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:58.586 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.587 +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/18 21:50:58.590 +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-18 21:50:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.590 +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-18 21:50:58.588 +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/18 21:50:58.596 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.603 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=599.498µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.605 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.605 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:58.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=40] ["take time"=4.925754ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.613 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.588 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:58.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.618 +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/18 21:50:58.623 +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-18 21:50:58.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.623 +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-18 21:50:58.621 +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/18 21:50:58.630 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.636 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=526.47µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.638 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.638 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:58.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=41] ["take time"=4.825736ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.654 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.659 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:58.659 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.660 +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/18 21:50:58.665 +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-18 21:50:58.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.665 +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-18 21:50:58.661 +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/18 21:50:58.670 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.675 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=393.608µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.676 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.676 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:58.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=42] ["take time"=5.854803ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.686 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.689 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:58.689 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.690 +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/18 21:50:58.694 +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-18 21:50:58.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.694 +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-18 21:50:58.692 +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/18 21:50:58.701 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.706 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=548.904µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.707 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.707 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:58.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=43] ["take time"=4.435801ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.715 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.719 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:58.719 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.719 +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/18 21:50:58.722 +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-18 21:50:58.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.722 +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-18 21:50:58.72 +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/18 21:50:58.728 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.732 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=383.828µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.733 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.733 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:58.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=44] ["take time"=2.293499ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.738 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.743 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:58.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.743 +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/18 21:50:58.746 +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-18 21:50:58.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.746 +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-18 21:50:58.745 +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/18 21:50:58.752 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.756 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=347.844µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.757 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.757 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:58.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=45] ["take time"=2.032658ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.762 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.765 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:58.765 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.766 +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/18 21:50:58.770 +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-18 21:50:58.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.770 +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-18 21:50:58.767 +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/18 21:50:58.782 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.787 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=670.456µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.789 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.789 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:58.790 +00:00] [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.033647ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.796 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.767 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.800 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:58.800 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.801 +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/18 21:50:58.806 +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-18 21:50:58.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.806 +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-18 21:50:58.802 +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/18 21:50:58.814 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.817 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=397.654µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.818 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.818 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:58.819 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.134204ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.824 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.802 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.828 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:58.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.829 +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/18 21:50:58.831 +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-18 21:50:58.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.831 +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-18 21:50:58.83 +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/18 21:50:58.838 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.840 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=250.901µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.842 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.842 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:58.843 +00:00] [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.612197ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.849 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.853 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:58.853 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.854 +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/18 21:50:58.857 +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-18 21:50:58.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.857 +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-18 21:50:58.855 +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/18 21:50:58.865 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.869 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=333.005µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.870 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.870 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:58.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=49] ["take time"=2.402213ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.876 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.880 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:58.880 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.880 +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/18 21:50:58.886 +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-18 21:50:58.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.886 +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-18 21:50:58.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:58.892 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.895 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=53.482µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:58.896 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.896 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:58.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.059314ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:58.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.904 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.907 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:58.907 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.910 +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-18 21:50:58.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.910 +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-18 21:50:58.909 +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/18 21:50:58.917 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.920 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=185.483µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:58.921 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.921 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:58.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=51] ["take time"=3.396831ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:58.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.929 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.933 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:58.933 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.966 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.421841824s] [2024/05/18 21:50:58.966 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1d6c3c5d-a6ce-42dd-85d5-2485dfcc988d] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 83, tp add index"] [category=ddl] ["take time"=6.535µs] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 84, tp add index"] [category=ddl] ["take time"=4.843µs] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 85, tp add index"] [category=ddl] ["take time"=5.135µs] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 82, tp add index"] [category=ddl] ["take time"=13.33µs] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 81, tp general"] [category=ddl] ["take time"=1.151µs] [2024/05/18 21:50:58.966 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:58.966 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:58.966 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:58.972 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=1d6c3c5d-a6ce-42dd-85d5-2485dfcc988d] ["take time"=6.223617ms] [2024/05/18 21:50:58.972 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=1d6c3c5d-a6ce-42dd-85d5-2485dfcc988d] [2024/05/18 21:50:58.972 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:58.972 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:58.972 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:58.972 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:58.972 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:58.972 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:58.972 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:58.972 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.461132ms] [2024/05/18 21:50:58.972 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=1535cdc4-0f95-486e-b1c3-e51991eeadbc] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/18 21:50:58.979 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:58.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/18 21:50:59.008 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=27.912356ms] [2024/05/18 21:50:59.018 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:59.019 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=20d66ad3-ef66-433c-b4f8-b5dc4e598568] [runWorker=true] [2024/05/18 21:50:59.019 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:59.019 +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/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:59.020 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:59.020 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:59.020 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:59.020 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:59.020 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:59.020 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:59.020 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:59.026 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:59.026 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:59.039 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:59.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:59.043 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:59.044 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:59.044 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:59.044 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:59.044 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:59.045 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:59.046 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:59.046 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:59.046 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:59.047 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:59.047 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:59.047 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:59.050 +00:00] [INFO] [ddl.go:1435] ["switch metadata lock feature"] [category=ddl] [enable=false] [2024/05/18 21:50:59.054 +00:00] [INFO] [set.go:170] ["set global var"] [conn=12] [name=tidb_enable_metadata_lock] [val=0] [2024/05/18 21:50:59.055 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/18 21:50:59.055 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="create table t1 (a int)"] [user=] [2024/05/18 21:50:59.057 +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-18 21:50:59.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.057 +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-18 21:50:59.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (a int)"] [2024/05/18 21:50:59.062 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=105] [conn=12] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:59.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.064 +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/18 21:50:59.076 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=11.847851ms] [2024/05/18 21:50:59.076 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:59.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=52] ["take time"=14.120639ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.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=52] ["take time"=2.350892ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:59.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.087 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=105] [conn=12] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:59.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.089 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:59.090 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.094 +00:00] [INFO] [set.go:170] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:59.096 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=52] [cur_db=test] [sql="alter table t1 set tiflash replica 2 location labels 'a','b';"] [user=] [2024/05/18 21:50:59.098 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:59.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.098 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:59.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 set tiflash replica 2 location labels 'a','b';"] [2024/05/18 21:50:59.104 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:59.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.104 +00:00] [INFO] [table.go:1391] ["Set TiFlash replica pd rule"] [category=ddl] [tableID=104] [2024/05/18 21:50:59.104 +00:00] [INFO] [info.go:1211] [ConfigureTiFlashPDForTable] [tableID=104] [count=2] [2024/05/18 21:50:59.105 +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/18 21:50:59.137 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=31.849416ms] [2024/05/18 21:50:59.148 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:59.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=53] ["take time"=42.94029ms] [job="ID:106, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:59.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.21049ms] [job="ID:106, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:59.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.154 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=106] [conn=13] [job="ID:106, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:59.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.156 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/18 21:50:59.156 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.157 +00:00] [INFO] [schema_validator.go:187] ["the schema version is much older than the latest version"] [currVer=52] [latestSchemaVer=53] [deltas="[{},{}]"] [2024/05/18 21:50:59.157 +00:00] [WARN] [session.go:814] ["can not retry txn"] [label=general] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [IsBatchInsert=false] [IsPessimistic=true] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/18 21:50:59.157 +00:00] [WARN] [session.go:830] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/18 21:50:59.157 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="previous statement: insert into t1 set a=1;: [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:666\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:546\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:788\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:918\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2316\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\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\nprevious statement: insert into t1 set a=1;"] [session="{\n \"currDBName\": \"test\",\n \"id\": 12,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] testkit.go:158: Error Trace: pkg/testkit/testkit.go:158 pkg/testkit/testkit.go:151 pkg/ddl/tiflash_replica_test.go:265 Error: Received unexpected error: [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later] github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871 github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694 github.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit external/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:113 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:666 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:546 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:788 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:918 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2316 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2146 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:156 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:151 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr pkg/store/driver/error/error.go:200 github.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr pkg/store/driver/txn/error.go:164 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr pkg/store/driver/txn/txn_driver.go:340 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:114 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:666 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:546 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:788 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:918 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2316 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2146 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:156 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:151 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 previous statement: insert into t1 set a=1; Test: TestSkipSchemaChecker Messages: sql:commit, [], error stack [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later] github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871 github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694 github.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit external/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:113 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:666 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:546 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:788 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:918 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2316 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2146 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:156 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:151 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr pkg/store/driver/error/error.go:200 github.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr pkg/store/driver/txn/error.go:164 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr pkg/store/driver/txn/txn_driver.go:340 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:114 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:666 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:546 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:788 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:918 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2316 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2146 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:156 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:151 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 previous statement: insert into t1 set a=1; [2024/05/18 21:50:59.160 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=20d66ad3-ef66-433c-b4f8-b5dc4e598568] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 87, tp add index"] [category=ddl] ["take time"=5.976µs] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 88, tp add index"] [category=ddl] ["take time"=4.407µs] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 89, tp add index"] [category=ddl] ["take time"=1.557µs] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 90, tp add index"] [category=ddl] ["take time"=1.302µs] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 86, tp general"] [category=ddl] ["take time"=1.708µs] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:59.160 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:59.160 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=20d66ad3-ef66-433c-b4f8-b5dc4e598568] ["take time"=2.180329ms] [2024/05/18 21:50:59.160 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=20d66ad3-ef66-433c-b4f8-b5dc4e598568] [2024/05/18 21:50:59.160 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:59.160 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:59.160 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.160 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.160 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.160 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:59.161 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=20d66ad3-ef66-433c-b4f8-b5dc4e598568] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:59.161 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:59.161 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=20d66ad3-ef66-433c-b4f8-b5dc4e598568] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:59.161 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:59.162 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:59.161 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:59.161 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:59.162 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.851436ms] [2024/05/18 21:50:59.164 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:59.164 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:59.164 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:59.164 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:59.164 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:59.164 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestSkipSchemaChecker (1.65s) FAIL coverage: 11.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/11374/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test ================================================================================ [12,538 / 13,068] 266 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 115s remote-cache, linux-sandbox ... (70 actions running) [12,552 / 13,068] 267 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 116s remote-cache, linux-sandbox ... (70 actions running) [12,558 / 13,068] 267 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,565 / 13,068] 268 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 118s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,571 / 13,068] 268 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 120s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,578 / 13,068] 268 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 121s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,591 / 13,068] 268 / 415 tests; Testing //pkg/expression:expression_test (shard 8 of 50); 122s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,594 / 13,068] 268 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 30 of 50); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,595 / 13,068] 268 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 30 of 50); 35s remote-cache, linux-sandbox ... (70 actions running) [12,610 / 13,068] 268 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 30 of 50); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,613 / 13,087] 268 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 30 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [12,627 / 13,087] 268 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 35s remote-cache, linux-sandbox ... (70 actions running) [12,632 / 13,087] 269 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,646 / 13,087] 269 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 38s remote-cache, linux-sandbox ... (70 actions running) INFO: From Testing //pkg/ddl:ddl_test (shard 11 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 11 of 50): === RUN TestBackfillingSchedulerGlobalSortMode [2024/05/18 21:50:54.410 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:54.411 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:54.411 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:54.412 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:54.412 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:54.413 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:54.415 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7feae8d5-ff13-458e-8fb0-96e13f5aade0] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:54.427 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:54.427 +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/18 21:50:54.428 +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.TestBackfillingSchedulerGlobalSortMode\n\tpkg/ddl/backfilling_dist_scheduler_test.go:133\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:54.431 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.561721ms] [2024/05/18 21:50:54.432 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:54.432 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=88812f28-3c82-4728-9633-e6236ef6ebfe] [runWorker=true] [2024/05/18 21:50:54.432 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:54.432 +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/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:54.432 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:54.432 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:54.432 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:54.433 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:54.433 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:54.433 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:54.433 +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/18 21:50:54.438 +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-18 21:50:54.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.438 +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-18 21:50:54.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:54.445 +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-18 21:50:54.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.454 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.787826ms] [2024/05/18 21:50:54.455 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:54.456 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.456 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:54.456 +00:00] [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.104503ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:54.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.469 +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-18 21:50:54.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.472 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:54.472 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.473 +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/18 21:50:54.474 +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/18 21:50:54.478 +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-18 21:50:54.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.478 +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-18 21:50:54.475 +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/18 21:50:54.483 +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-18 21:50:54.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.493 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=853.188µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.494 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.494 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:54.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=2] ["take time"=2.101058ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.502 +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-18 21:50:54.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.510 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:54.511 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.511 +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/18 21:50:54.514 +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-18 21:50:54.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.514 +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-18 21:50:54.513 +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/18 21:50:54.520 +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-18 21:50:54.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.523 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=306.862µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.525 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.525 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:54.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=3] ["take time"=2.516328ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.530 +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-18 21:50:54.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.533 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:54.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.533 +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/18 21:50:54.536 +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-18 21:50:54.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.536 +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-18 21:50:54.535 +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/18 21:50:54.542 +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-18 21:50:54.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.545 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=202.983µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.546 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.546 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:54.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=4] ["take time"=2.058698ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.556 +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-18 21:50:54.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.559 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:54.559 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.559 +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/18 21:50:54.563 +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-18 21:50:54.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.563 +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-18 21:50:54.561 +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/18 21:50:54.570 +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-18 21:50:54.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.576 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=852.392µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.577 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.577 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:54.579 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.174511ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.587 +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-18 21:50:54.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.593 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:54.593 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.593 +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/18 21:50:54.595 +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-18 21:50:54.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.595 +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-18 21:50:54.594 +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/18 21:50:54.603 +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-18 21:50:54.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.607 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=266.415µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.608 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.608 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:54.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=6] ["take time"=2.719749ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.614 +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-18 21:50:54.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.618 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:54.618 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.618 +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/18 21:50:54.621 +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-18 21:50:54.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.621 +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-18 21:50:54.62 +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/18 21:50:54.627 +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-18 21:50:54.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=339.03µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.632 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.632 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:54.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=7] ["take time"=2.734184ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.639 +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-18 21:50:54.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.643 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:54.643 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.644 +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/18 21:50:54.650 +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-18 21:50:54.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.650 +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-18 21:50:54.649 +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/18 21:50:54.658 +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-18 21:50:54.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.660 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=235.094µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.661 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.661 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:54.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=8] ["take time"=3.039189ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.669 +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-18 21:50:54.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.673 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:54.673 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.673 +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/18 21:50:54.676 +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-18 21:50:54.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.676 +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-18 21:50:54.675 +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/18 21:50:54.682 +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-18 21:50:54.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.686 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=272.623µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.687 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.688 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:54.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=9] ["take time"=2.239372ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.693 +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-18 21:50:54.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.697 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:54.697 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.697 +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/18 21:50:54.699 +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-18 21:50:54.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.699 +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-18 21:50:54.698 +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/18 21:50:54.708 +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-18 21:50:54.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.711 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=262.989µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.712 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.712 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:54.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=10] ["take time"=2.2993ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.718 +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-18 21:50:54.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.723 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:54.723 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.723 +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/18 21:50:54.726 +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-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.726 +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-18 21:50:54.725 +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/18 21:50:54.734 +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-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.736 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=304.153µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.738 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.738 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:54.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=11] ["take time"=2.455638ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.744 +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-18 21:50:54.725 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.749 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:54.749 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.750 +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/18 21:50:54.750 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:54.753 +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-18 21:50:54.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.753 +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-18 21:50:54.751 +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/18 21:50:54.759 +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-18 21:50:54.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.763 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=500.904µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.765 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.765 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:54.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=12] ["take time"=5.048575ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.772 +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-18 21:50:54.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.777 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:54.777 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.777 +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/18 21:50:54.781 +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-18 21:50:54.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.781 +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-18 21:50:54.779 +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/18 21:50:54.789 +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-18 21:50:54.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.815 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=20.33393ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.817 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.817 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:54.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=26.097745ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.831 +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-18 21:50:54.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.837 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:54.837 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.837 +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/18 21:50:54.846 +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-18 21:50:54.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.846 +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-18 21:50:54.844 +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/18 21:50:54.854 +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-18 21:50:54.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.857 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=269.946µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.858 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.858 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:54.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=14] ["take time"=2.480936ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.865 +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-18 21:50:54.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.869 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:54.869 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.870 +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/18 21:50:54.875 +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-18 21:50:54.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.875 +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-18 21:50:54.873 +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/18 21:50:54.882 +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-18 21:50:54.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.895 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=346.503µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.896 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.896 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:54.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=15] ["take time"=4.276474ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.905 +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-18 21:50:54.873 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.909 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:54.909 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.910 +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/18 21:50:54.912 +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-18 21:50:54.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.912 +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-18 21:50:54.911 +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/18 21:50:54.921 +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-18 21:50:54.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.925 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=294.019µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.926 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.926 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:54.927 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=3.066013ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.933 +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-18 21:50:54.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.937 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:54.937 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.937 +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/18 21:50:54.940 +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-18 21:50:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.940 +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-18 21:50:54.938 +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/18 21:50:54.949 +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-18 21:50:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.953 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=320.827µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.955 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.955 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:54.957 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=5.002189ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.975 +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-18 21:50:54.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.982 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:54.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:54.983 +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/18 21:50:54.986 +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-18 21:50:54.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:54.986 +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-18 21:50:54.984 +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/18 21:50:54.992 +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-18 21:50:54.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:54.995 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=283.362µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:54.996 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:54.996 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:54.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=18] ["take time"=2.027634ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:54.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.003 +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-18 21:50:54.984 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.008 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:55.008 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.009 +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/18 21:50:55.012 +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-18 21:50:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.012 +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-18 21:50:55.01 +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/18 21:50:55.021 +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-18 21:50:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.024 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=422.904µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.025 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.025 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:55.026 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.558119ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.030 +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-18 21:50:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.034 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:55.034 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.036 +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/18 21:50:55.038 +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-18 21:50:55.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.038 +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-18 21:50:55.037 +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/18 21:50:55.044 +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-18 21:50:55.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.047 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=311.898µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.048 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.048 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:55.049 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.073474ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.053 +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-18 21:50:55.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.055 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:55.055 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.055 +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/18 21:50:55.058 +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-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.058 +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-18 21:50:55.057 +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/18 21:50:55.064 +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-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.067 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=208.249µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.068 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.068 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:55.069 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.455121ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.073 +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-18 21:50:55.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.076 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:55.076 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.076 +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/18 21:50:55.078 +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-18 21:50:55.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.078 +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-18 21:50:55.077 +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/18 21:50:55.085 +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-18 21:50:55.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.087 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=180.205µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.088 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.088 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:55.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=22] ["take time"=2.893773ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.097 +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-18 21:50:55.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.099 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:55.099 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.100 +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/18 21:50:55.104 +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-18 21:50:55.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.105 +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-18 21:50:55.101 +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/18 21:50:55.111 +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-18 21:50:55.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.114 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=429.856µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.116 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.116 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:55.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=23] ["take time"=2.024653ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.122 +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-18 21:50:55.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.130 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:55.130 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.131 +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/18 21:50:55.133 +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-18 21:50:55.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.134 +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-18 21:50:55.132 +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/18 21:50:55.139 +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-18 21:50:55.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.141 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=275.863µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.143 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.143 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:55.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=24] ["take time"=2.980449ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.153 +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-18 21:50:55.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.156 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:55.156 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.157 +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/18 21:50:55.160 +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-18 21:50:55.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.160 +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-18 21:50:55.159 +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/18 21:50:55.168 +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-18 21:50:55.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.175 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=290.881µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.177 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.177 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:55.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=25] ["take time"=2.038262ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.182 +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-18 21:50:55.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.186 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:55.186 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.186 +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/18 21:50:55.192 +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-18 21:50:55.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.192 +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-18 21:50:55.191 +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/18 21:50:55.198 +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-18 21:50:55.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.200 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=253.085µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.202 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.202 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:55.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=26] ["take time"=2.086769ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.207 +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-18 21:50:55.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.211 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:55.211 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.211 +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/18 21:50:55.214 +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-18 21:50:55.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.214 +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-18 21:50:55.213 +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/18 21:50:55.223 +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-18 21:50:55.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.226 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=260.51µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.227 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.227 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:55.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=27] ["take time"=2.180871ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.232 +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-18 21:50:55.213 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.234 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:55.234 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.235 +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/18 21:50:55.237 +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-18 21:50:55.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.237 +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-18 21:50:55.236 +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/18 21:50:55.245 +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-18 21:50:55.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.247 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=161.72µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.248 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.248 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:55.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=28] ["take time"=2.721102ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.254 +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-18 21:50:55.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.256 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:55.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.257 +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/18 21:50:55.257 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.259 +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-18 21:50:55.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.260 +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-18 21:50:55.258 +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/18 21:50:55.266 +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-18 21:50:55.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.270 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=332.968µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.271 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.271 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:55.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=29] ["take time"=2.659379ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.276 +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-18 21:50:55.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.280 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:55.280 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.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/18 21:50:55.284 +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-18 21:50:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.284 +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-18 21:50:55.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/18 21:50:55.289 +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-18 21:50:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.292 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=354.795µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.294 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.294 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:55.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=30] ["take time"=2.692423ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.299 +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-18 21:50:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.302 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:55.302 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.303 +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/18 21:50:55.305 +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-18 21:50:55.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.305 +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-18 21:50:55.304 +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/18 21:50:55.310 +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-18 21:50:55.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.313 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=323.728µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.314 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.314 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:55.316 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=3.020231ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.320 +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-18 21:50:55.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.323 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:55.323 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.324 +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/18 21:50:55.326 +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-18 21:50:55.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.326 +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-18 21:50:55.325 +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/18 21:50:55.333 +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-18 21:50:55.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.337 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=476.978µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.338 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.338 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:55.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=32] ["take time"=2.261479ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.343 +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-18 21:50:55.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.346 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:55.346 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.346 +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/18 21:50:55.349 +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-18 21:50:55.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.349 +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-18 21:50:55.348 +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/18 21:50:55.356 +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-18 21:50:55.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.358 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=188.117µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.359 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.359 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:55.360 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.252169ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.367 +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-18 21:50:55.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.370 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:55.370 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.373 +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-18 21:50:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.373 +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-18 21:50:55.372 +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/18 21:50:55.379 +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-18 21:50:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.382 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=252.309µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:55.383 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.383 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:55.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=34] ["take time"=2.255842ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.392 +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-18 21:50:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.394 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:55.395 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.395 +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/18 21:50:55.398 +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-18 21:50:55.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.398 +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-18 21:50:55.396 +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/18 21:50:55.405 +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-18 21:50:55.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.409 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=324.802µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.410 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.410 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:55.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=35] ["take time"=2.470201ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.415 +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-18 21:50:55.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.418 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:55.419 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.419 +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/18 21:50:55.421 +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-18 21:50:55.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.421 +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-18 21:50:55.42 +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/18 21:50:55.428 +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-18 21:50:55.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.431 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=252.274µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.432 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.432 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:55.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=36] ["take time"=2.121321ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.433 +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/18 21:50:55.442 +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-18 21:50:55.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.446 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:55.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.446 +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/18 21:50:55.449 +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-18 21:50:55.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.449 +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-18 21:50:55.448 +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/18 21:50:55.456 +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-18 21:50:55.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.458 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=259.326µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.459 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.460 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:55.460 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.139223ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.464 +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-18 21:50:55.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.467 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:55.467 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.468 +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/18 21:50:55.471 +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-18 21:50:55.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.471 +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-18 21:50:55.469 +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/18 21:50:55.478 +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-18 21:50:55.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=501.082µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.483 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:55.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=38] ["take time"=2.417297ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.494 +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-18 21:50:55.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.497 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:55.498 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.498 +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/18 21:50:55.501 +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-18 21:50:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.501 +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-18 21:50:55.499 +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/18 21:50:55.506 +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-18 21:50:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.510 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=444.029µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.512 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.512 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:55.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=39] ["take time"=2.62715ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.517 +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-18 21:50:55.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.521 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:55.521 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.522 +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/18 21:50:55.525 +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-18 21:50:55.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.525 +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-18 21:50:55.523 +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/18 21:50:55.531 +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-18 21:50:55.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.537 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=745.429µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.538 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.539 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:55.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=40] ["take time"=4.422715ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.546 +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-18 21:50:55.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.550 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:55.550 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.551 +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/18 21:50:55.554 +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-18 21:50:55.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.554 +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-18 21:50:55.552 +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/18 21:50:55.559 +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-18 21:50:55.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.563 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=422.508µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.564 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.564 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:55.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=41] ["take time"=3.043606ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.570 +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-18 21:50:55.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.574 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:55.574 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.574 +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/18 21:50:55.577 +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-18 21:50:55.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.577 +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-18 21:50:55.576 +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/18 21:50:55.584 +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-18 21:50:55.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.589 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=484.505µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.590 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.590 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:55.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=42] ["take time"=2.563463ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.595 +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-18 21:50:55.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.599 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:55.599 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.599 +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/18 21:50:55.602 +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-18 21:50:55.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.602 +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-18 21:50:55.601 +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/18 21:50:55.609 +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-18 21:50:55.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.614 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=476.549µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.615 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.615 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:55.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=43] ["take time"=2.304056ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.620 +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-18 21:50:55.601 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.624 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:55.624 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.624 +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/18 21:50:55.628 +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-18 21:50:55.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.628 +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-18 21:50:55.626 +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/18 21:50:55.634 +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-18 21:50:55.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.637 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=311.288µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.639 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.639 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:55.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=44] ["take time"=2.50315ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.645 +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-18 21:50:55.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.648 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:55.648 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.649 +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/18 21:50:55.651 +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-18 21:50:55.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.651 +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-18 21:50:55.65 +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/18 21:50:55.657 +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-18 21:50:55.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.660 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=367.379µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.661 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.661 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:55.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=45] ["take time"=2.830085ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.667 +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-18 21:50:55.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.670 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:55.670 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.670 +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/18 21:50:55.674 +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-18 21:50:55.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.674 +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-18 21:50:55.672 +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/18 21:50:55.679 +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-18 21:50:55.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.687 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=588.138µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.689 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.689 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:55.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=46] ["take time"=2.108433ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.693 +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-18 21:50:55.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.697 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:55.697 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.698 +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/18 21:50:55.701 +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-18 21:50:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.701 +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-18 21:50:55.699 +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/18 21:50:55.705 +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-18 21:50:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.709 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=267.009µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.710 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.710 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:55.711 +00:00] [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.586698ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.716 +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-18 21:50:55.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.719 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:55.719 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.719 +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/18 21:50:55.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-18 21:50:55.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.722 +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-18 21:50:55.721 +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/18 21:50:55.728 +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-18 21:50:55.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.731 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=290.753µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.732 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.732 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:55.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=48] ["take time"=2.762431ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.741 +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-18 21:50:55.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.743 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:55.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.743 +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/18 21:50:55.746 +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-18 21:50:55.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.746 +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-18 21:50:55.745 +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/18 21:50:55.752 +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-18 21:50:55.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.754 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=208.559µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:55.755 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.755 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:55.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=49] ["take time"=2.960849ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.761 +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-18 21:50:55.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.764 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:55.764 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.764 +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/18 21:50:55.766 +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-18 21:50:55.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.766 +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-18 21:50:55.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:55.778 +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-18 21:50:55.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.780 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=70.302µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:55.782 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.782 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:55.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=50] ["take time"=2.009971ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:55.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.788 +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-18 21:50:55.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.797 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:55.797 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.801 +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-18 21:50:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.801 +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-18 21:50:55.799 +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/18 21:50:55.806 +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-18 21:50:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.809 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=212.564µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:55.810 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:55.810 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:55.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=51] ["take time"=2.015497ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.814 +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-18 21:50:55.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.817 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:55.817 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.846 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.413754426s] [2024/05/18 21:50:55.846 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=88812f28-3c82-4728-9633-e6236ef6ebfe] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.306µs] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=974ns] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=800ns] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=923ns] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=831ns] [2024/05/18 21:50:55.846 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.846 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:55.846 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:55.848 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=88812f28-3c82-4728-9633-e6236ef6ebfe] ["take time"=2.393816ms] [2024/05/18 21:50:55.848 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=88812f28-3c82-4728-9633-e6236ef6ebfe] [2024/05/18 21:50:55.848 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:55.848 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:55.848 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:55.848 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:55.848 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:55.848 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:55.848 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:55.848 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:55.848 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:55.849 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:55.849 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:55.849 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:55.849 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:55.849 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:55.849 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.633086ms] [2024/05/18 21:50:55.849 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7feae8d5-ff13-458e-8fb0-96e13f5aade0] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:55.866 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:55.866 +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/18 21:50:55.877 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=10.521995ms] [2024/05/18 21:50:55.877 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:55.877 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=8ff26eb3-fffa-4a3c-972b-912767914866] [runWorker=true] [2024/05/18 21:50:55.877 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:55.877 +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/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:55.877 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:55.877 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:55.877 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:55.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:55.877 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:55.877 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:55.879 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:55.879 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:55.881 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/18 21:50:55.882 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:55.889 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:55.891 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:55.892 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:55.892 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:55.892 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:55.892 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:55.892 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:55.893 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:55.893 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:55.894 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:55.894 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:55.895 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:55.896 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:55.896 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:55.899 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:55.899 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/18 21:50:55.900 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t1(id bigint auto_random primary key)"] [user=] [2024/05/18 21:50:55.902 +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-18 21:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:55.902 +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-18 21:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(id bigint auto_random primary key)"] [2024/05/18 21:50:55.907 +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-18 21:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.909 +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/18 21:50:55.932 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=23.28689ms] [2024/05/18 21:50:55.941 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:55.942 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:55.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=52] ["take time"=34.978088ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.949 +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-18 21:50:55.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:55.953 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:55.953 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:55.958 +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/18 21:50:55.966 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=read-index] [next-step=merge-sort] [2024/05/18 21:50:55.976 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=merge-sort] [next-step=write&ingest] [2024/05/18 21:50:55.976 +00:00] [INFO] [backfilling_dist_scheduler.go:96] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=write&ingest] [next-step=done] [2024/05/18 21:50:55.976 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8ff26eb3-fffa-4a3c-972b-912767914866] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=2.271µs] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.276µs] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.178µs] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.519µs] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=984ns] [2024/05/18 21:50:55.976 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:55.976 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:55.976 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:55.977 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=8ff26eb3-fffa-4a3c-972b-912767914866] ["take time"=324.728µs] [2024/05/18 21:50:55.977 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=8ff26eb3-fffa-4a3c-972b-912767914866] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:55.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/18 21:50:55.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:55.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/18 21:50:55.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:55.977 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8ff26eb3-fffa-4a3c-972b-912767914866] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:55.977 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:55.977 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:55.978 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:55.977 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:55.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:55.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:55.978 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8ff26eb3-fffa-4a3c-972b-912767914866] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:55.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:55.978 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:55.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:55.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:55.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:55.977 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:55.978 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:55.977 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:55.978 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=1.703258ms] [2024/05/18 21:50:55.978 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:55.978 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:55.978 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:55.978 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:55.978 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:55.979 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestBackfillingSchedulerGlobalSortMode (1.59s) === RUN TestModifyColumnTypeArgs [2024/05/18 21:50:55.982 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:55.982 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.982 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.983 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.983 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.984 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:55.985 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=87bb3e7e-799b-490f-8728-dd7305010b39] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:55.993 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:55.993 +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/18 21:50:55.993 +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.TestModifyColumnTypeArgs\n\tpkg/ddl/db_change_failpoints_test.go:44\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:56.011 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=17.980548ms] [2024/05/18 21:50:56.013 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:56.013 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=8e23ac31-c010-437e-9a81-eada1ec69ed4] [runWorker=true] [2024/05/18 21:50:56.014 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:56.014 +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/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:56.014 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:56.014 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:56.014 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:56.014 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:56.014 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:56.014 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:56.015 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:56.015 +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/18 21:50:56.017 +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-18 21:50:56.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.017 +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-18 21:50:56.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:56.023 +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-18 21:50:56.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.044 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.256426ms] [2024/05/18 21:50:56.045 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:56.047 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.047 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:56.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=1] ["take time"=24.605093ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:56.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.054 +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-18 21:50:56.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.056 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:56.056 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.056 +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/18 21:50:56.057 +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/18 21:50:56.061 +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-18 21:50:56.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.061 +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-18 21:50:56.058 +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/18 21:50:56.067 +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-18 21:50:56.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.080 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.327541ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.081 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.081 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:56.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=2] ["take time"=4.474846ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.088 +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-18 21:50:56.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.094 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:56.094 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.094 +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/18 21:50:56.097 +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-18 21:50:56.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.097 +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-18 21:50:56.095 +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/18 21:50:56.102 +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-18 21:50:56.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.108 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=324.018µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.109 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.109 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:56.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=3] ["take time"=2.031338ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.115 +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-18 21:50:56.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.118 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:56.118 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.118 +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/18 21:50:56.121 +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-18 21:50:56.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.121 +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-18 21:50:56.119 +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/18 21:50:56.126 +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-18 21:50:56.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.129 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=209.685µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.130 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.130 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:56.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=4] ["take time"=2.314923ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.135 +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-18 21:50:56.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.139 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:56.139 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.139 +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/18 21:50:56.143 +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-18 21:50:56.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.143 +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-18 21:50:56.14 +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/18 21:50:56.147 +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-18 21:50:56.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.152 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=441.377µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.153 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.153 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:56.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=5] ["take time"=2.848508ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.158 +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-18 21:50:56.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.162 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:56.162 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.163 +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/18 21:50:56.165 +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-18 21:50:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.165 +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-18 21:50:56.164 +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/18 21:50:56.170 +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-18 21:50:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.172 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=244.413µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.173 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.173 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:56.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=6] ["take time"=2.054308ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.178 +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-18 21:50:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.181 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:56.181 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.181 +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/18 21:50:56.184 +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-18 21:50:56.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.184 +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-18 21:50:56.182 +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/18 21:50:56.188 +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-18 21:50:56.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.191 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=272.967µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.191 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:56.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.406188ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.197 +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-18 21:50:56.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.199 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:56.199 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.200 +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/18 21:50:56.202 +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-18 21:50:56.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.202 +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-18 21:50:56.201 +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/18 21:50:56.206 +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-18 21:50:56.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.208 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=231.922µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.210 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.210 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:56.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=8] ["take time"=2.895849ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.215 +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-18 21:50:56.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.217 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:56.217 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.217 +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/18 21:50:56.220 +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-18 21:50:56.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.220 +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-18 21:50:56.219 +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/18 21:50:56.226 +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-18 21:50:56.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.229 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=270.003µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.230 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.230 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:56.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=9] ["take time"=2.937442ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.235 +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-18 21:50:56.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.237 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:56.237 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.238 +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/18 21:50:56.240 +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-18 21:50:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.240 +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-18 21:50:56.239 +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/18 21:50:56.247 +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-18 21:50:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.250 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=305.024µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.251 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.251 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:56.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=10] ["take time"=3.598302ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.258 +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-18 21:50:56.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.261 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:56.261 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.261 +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/18 21:50:56.263 +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-18 21:50:56.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.263 +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-18 21:50:56.262 +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/18 21:50:56.271 +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-18 21:50:56.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.274 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=369.835µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.275 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.275 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:56.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=11] ["take time"=2.00966ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.280 +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-18 21:50:56.262 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.282 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:56.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.283 +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/18 21:50:56.283 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:56.286 +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-18 21:50:56.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.286 +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-18 21:50:56.284 +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/18 21:50:56.293 +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-18 21:50:56.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.299 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=472.048µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.300 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.300 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:56.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.0851ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.305 +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-18 21:50:56.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.309 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:56.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.309 +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/18 21:50:56.311 +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-18 21:50:56.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.311 +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-18 21:50:56.31 +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/18 21:50:56.319 +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-18 21:50:56.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.322 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=339.603µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.323 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.323 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:56.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=13] ["take time"=2.392403ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.328 +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-18 21:50:56.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.331 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:56.331 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.331 +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/18 21:50:56.334 +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-18 21:50:56.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.334 +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-18 21:50:56.333 +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/18 21:50:56.339 +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-18 21:50:56.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.343 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=346.761µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.344 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.344 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:56.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=14] ["take time"=2.684129ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.349 +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-18 21:50:56.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.351 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:56.351 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.352 +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/18 21:50:56.354 +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-18 21:50:56.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.354 +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-18 21:50:56.353 +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/18 21:50:56.359 +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-18 21:50:56.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.362 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=303.806µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.364 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.364 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:56.365 +00:00] [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.624979ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.372 +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-18 21:50:56.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.375 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:56.375 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.375 +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/18 21:50:56.378 +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-18 21:50:56.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.378 +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-18 21:50:56.376 +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/18 21:50:56.384 +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-18 21:50:56.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.387 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=310.11µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.388 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.388 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:56.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=16] ["take time"=2.046753ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.393 +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-18 21:50:56.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.395 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:56.395 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.396 +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/18 21:50:56.398 +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-18 21:50:56.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.398 +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-18 21:50:56.397 +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/18 21:50:56.404 +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-18 21:50:56.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.406 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=306.249µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.408 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.408 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:56.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=17] ["take time"=2.462262ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.412 +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-18 21:50:56.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.415 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:56.415 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.416 +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/18 21:50:56.418 +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-18 21:50:56.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.418 +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-18 21:50:56.417 +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/18 21:50:56.424 +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-18 21:50:56.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.427 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=263.826µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.428 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.428 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:56.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=18] ["take time"=2.568823ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.434 +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-18 21:50:56.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.437 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:56.437 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.438 +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/18 21:50:56.441 +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-18 21:50:56.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.441 +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-18 21:50:56.439 +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/18 21:50:56.449 +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-18 21:50:56.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.452 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=395.397µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.453 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.453 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:56.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=19] ["take time"=2.867595ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.458 +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-18 21:50:56.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.462 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:56.462 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.464 +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/18 21:50:56.466 +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-18 21:50:56.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.466 +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-18 21:50:56.465 +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/18 21:50:56.471 +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-18 21:50:56.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.474 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=246.638µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.475 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.475 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:56.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.10971ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.483 +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-18 21:50:56.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.486 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:56.486 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.487 +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/18 21:50:56.489 +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-18 21:50:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.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-18 21:50:56.488 +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/18 21:50:56.496 +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-18 21:50:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.498 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=247.03µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.499 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.499 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:56.501 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.938395ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.505 +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-18 21:50:56.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.508 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:56.509 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.509 +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/18 21:50:56.511 +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-18 21:50:56.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.511 +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-18 21:50:56.51 +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/18 21:50:56.518 +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-18 21:50:56.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.520 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=188.089µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.521 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.521 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:56.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=22] ["take time"=3.007768ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.527 +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-18 21:50:56.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.529 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:56.530 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.530 +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/18 21:50:56.533 +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-18 21:50:56.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.533 +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-18 21:50:56.532 +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/18 21:50:56.538 +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-18 21:50:56.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.541 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=412.036µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.542 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.542 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:56.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=23] ["take time"=2.24882ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.547 +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-18 21:50:56.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.551 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:56.551 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.551 +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/18 21:50:56.554 +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-18 21:50:56.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.554 +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-18 21:50:56.552 +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/18 21:50:56.560 +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-18 21:50:56.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.563 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=210.604µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.564 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.564 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:56.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=24] ["take time"=2.825324ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.573 +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-18 21:50:56.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.575 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:56.575 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.576 +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/18 21:50:56.578 +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-18 21:50:56.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.578 +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-18 21:50:56.577 +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/18 21:50:56.584 +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-18 21:50:56.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.587 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=221.581µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.588 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.588 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:56.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=25] ["take time"=2.133402ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.593 +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-18 21:50:56.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.596 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:56.596 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.597 +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/18 21:50:56.600 +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-18 21:50:56.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.600 +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-18 21:50:56.598 +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/18 21:50:56.606 +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-18 21:50:56.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.608 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=195.298µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.610 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.610 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:56.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=26] ["take time"=4.271664ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.618 +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-18 21:50:56.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.623 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:56.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.623 +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/18 21:50:56.626 +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-18 21:50:56.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.626 +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-18 21:50:56.625 +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/18 21:50:56.632 +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-18 21:50:56.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.635 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=292.304µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.636 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.636 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:56.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=27] ["take time"=2.48725ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.647 +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-18 21:50:56.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.651 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:56.651 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.651 +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/18 21:50:56.654 +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-18 21:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.654 +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-18 21:50:56.652 +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/18 21:50:56.661 +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-18 21:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.663 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=240.25µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.664 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.664 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:56.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=28] ["take time"=2.355371ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.675 +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-18 21:50:56.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.678 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:56.678 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.679 +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/18 21:50:56.679 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:56.682 +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-18 21:50:56.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.682 +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-18 21:50:56.68 +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/18 21:50:56.689 +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-18 21:50:56.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.692 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=354.748µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.694 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.694 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:56.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=29] ["take time"=2.451153ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.699 +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-18 21:50:56.68 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.702 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:56.702 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.703 +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/18 21:50:56.706 +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-18 21:50:56.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.706 +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-18 21:50:56.704 +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/18 21:50:56.713 +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-18 21:50:56.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.716 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=380.507µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.718 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.718 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:56.718 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.024196ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.723 +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-18 21:50:56.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.735 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:56.735 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.735 +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/18 21:50:56.738 +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-18 21:50:56.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.738 +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-18 21:50:56.737 +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/18 21:50:56.745 +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-18 21:50:56.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.749 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=410.919µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.750 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.750 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:56.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=31] ["take time"=2.039245ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.758 +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-18 21:50:56.737 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.761 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:56.761 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.761 +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/18 21:50:56.765 +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-18 21:50:56.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.765 +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-18 21:50:56.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/18 21:50:56.769 +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-18 21:50:56.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.773 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=375.197µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.775 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.775 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:56.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"=2.487376ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.780 +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-18 21:50:56.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.784 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:56.784 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.784 +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/18 21:50:56.787 +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-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.787 +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-18 21:50:56.785 +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/18 21:50:56.793 +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-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.795 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=177.15µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.796 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.796 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:56.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=33] ["take time"=2.301096ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.801 +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-18 21:50:56.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.804 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:56.804 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.807 +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-18 21:50:56.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.807 +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-18 21:50:56.806 +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/18 21:50:56.813 +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-18 21:50:56.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.818 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=351.831µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:56.819 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.819 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:56.819 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.340331ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:56.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.824 +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-18 21:50:56.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.828 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:56.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.829 +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/18 21:50:56.832 +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-18 21:50:56.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.832 +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-18 21:50:56.83 +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/18 21:50:56.837 +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-18 21:50:56.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.841 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=325.544µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.842 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.842 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:56.843 +00:00] [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.495973ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.847 +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-18 21:50:56.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.851 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:56.851 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.851 +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/18 21:50:56.854 +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-18 21:50:56.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.854 +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-18 21:50:56.853 +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/18 21:50:56.864 +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-18 21:50:56.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.867 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=314.525µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.868 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.868 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50:56.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=36] ["take time"=2.092323ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.874 +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-18 21:50:56.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.878 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:56.878 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.879 +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/18 21:50:56.882 +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-18 21:50:56.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.883 +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-18 21:50:56.881 +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/18 21:50:56.891 +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-18 21:50:56.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.895 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=266.705µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.896 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.896 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:56.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.196713ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.901 +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-18 21:50:56.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.909 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:56.909 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.909 +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/18 21:50:56.913 +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-18 21:50:56.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.913 +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-18 21:50:56.911 +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/18 21:50:56.921 +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-18 21:50:56.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.926 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=398.254µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.927 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.927 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:56.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=38] ["take time"=2.374236ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.933 +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-18 21:50:56.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.940 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:56.940 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.940 +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/18 21:50:56.944 +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-18 21:50:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.944 +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-18 21:50:56.942 +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/18 21:50:56.951 +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-18 21:50:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.956 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=516.541µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.958 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.958 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:56.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=39] ["take time"=2.603264ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.964 +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-18 21:50:56.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.968 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:56.968 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.969 +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/18 21:50:56.972 +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-18 21:50:56.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.972 +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-18 21:50:56.97 +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/18 21:50:56.978 +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-18 21:50:56.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.982 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=411.103µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:56.983 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:56.983 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:56.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=40] ["take time"=2.290019ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.989 +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-18 21:50:56.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:56.993 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:56.993 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:56.993 +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/18 21:50:56.996 +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-18 21:50:56.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:56.996 +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-18 21:50:56.995 +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/18 21:50:57.002 +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-18 21:50:56.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.006 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=511.687µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.007 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.007 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:57.008 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.100721ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:56.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.015 +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/18 21:50:57.016 +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-18 21:50:56.995 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.019 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:57.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.020 +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/18 21:50:57.023 +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-18 21:50:57.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.023 +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-18 21:50:57.021 +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/18 21:50:57.028 +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-18 21:50:57.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.033 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=534.539µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.034 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.034 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:57.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=42] ["take time"=2.996649ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.039 +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-18 21:50:57.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.043 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:57.043 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.043 +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/18 21:50:57.046 +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-18 21:50:57.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.046 +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-18 21:50:57.045 +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/18 21:50:57.053 +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-18 21:50:57.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.057 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=562.728µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.059 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.059 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:57.061 +00:00] [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.526333ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.065 +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-18 21:50:57.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.069 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:57.069 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.070 +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/18 21:50:57.072 +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-18 21:50:57.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.073 +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-18 21:50:57.071 +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/18 21:50:57.078 +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-18 21:50:57.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.081 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=325.082µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.082 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.082 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:57.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=44] ["take time"=2.410492ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.087 +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-18 21:50:57.071 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.091 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:57.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.092 +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/18 21:50:57.095 +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-18 21:50:57.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.095 +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-18 21:50:57.093 +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/18 21:50:57.099 +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-18 21:50:57.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=377.397µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.104 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.104 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50:57.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=45] ["take time"=2.042244ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.110 +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-18 21:50:57.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.113 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:57.113 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.114 +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/18 21:50:57.117 +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-18 21:50:57.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.117 +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-18 21:50:57.115 +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/18 21:50:57.121 +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-18 21:50:57.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.126 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=473.637µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.127 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.127 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:57.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.582033ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.133 +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-18 21:50:57.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.138 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:57.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.139 +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/18 21:50:57.142 +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-18 21:50:57.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.142 +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-18 21:50:57.14 +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/18 21:50:57.147 +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-18 21:50:57.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.150 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=369.68µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.151 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.151 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:57.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=3.081043ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.157 +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-18 21:50:57.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.160 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:57.160 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.160 +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/18 21:50:57.163 +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-18 21:50:57.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.163 +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-18 21:50:57.161 +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/18 21:50:57.169 +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-18 21:50:57.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.172 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=204.716µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.173 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.173 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:57.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=48] ["take time"=2.074741ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.180 +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-18 21:50:57.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.183 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:57.183 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.183 +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/18 21:50:57.186 +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-18 21:50:57.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.186 +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-18 21:50:57.185 +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/18 21:50:57.192 +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-18 21:50:57.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.195 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=300.429µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.196 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.196 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:57.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=49] ["take time"=3.048969ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.202 +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-18 21:50:57.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.205 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:57.205 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.205 +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/18 21:50:57.207 +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-18 21:50:57.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.208 +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-18 21:50:57.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:57.214 +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-18 21:50:57.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.216 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=61.001µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:57.217 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.217 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:57.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=50] ["take time"=2.044809ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.223 +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-18 21:50:57.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.226 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:57.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.229 +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-18 21:50:57.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.229 +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-18 21:50:57.228 +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/18 21:50:57.235 +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-18 21:50:57.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.237 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=197.598µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:57.239 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.239 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:57.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=51] ["take time"=2.25393ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:57.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.244 +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-18 21:50:57.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.247 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:57.247 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.272 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.257366222s] [2024/05/18 21:50:57.272 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8e23ac31-c010-437e-9a81-eada1ec69ed4] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=2.396µs] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.088µs] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=1.069µs] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=1.007µs] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=935ns] [2024/05/18 21:50:57.272 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.272 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:57.272 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:57.275 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=8e23ac31-c010-437e-9a81-eada1ec69ed4] ["take time"=3.294776ms] [2024/05/18 21:50:57.275 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=8e23ac31-c010-437e-9a81-eada1ec69ed4] [2024/05/18 21:50:57.275 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:57.275 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:57.275 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.275 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.275 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:57.275 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.275 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.275 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:57.276 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:57.276 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.276 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.276 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.276 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:57.276 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.276 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.574792ms] [2024/05/18 21:50:57.276 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=87bb3e7e-799b-490f-8728-dd7305010b39] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:57.282 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:57.282 +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/18 21:50:57.313 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=30.275984ms] [2024/05/18 21:50:57.323 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:57.323 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=f17cdd30-c358-48cf-af02-654ad66df84d] [runWorker=true] [2024/05/18 21:50:57.323 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:57.323 +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/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.323 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.323 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:57.323 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.323 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:57.323 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:57.323 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:57.324 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:57.330 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:57.330 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:57.341 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:57.345 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:57.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:57.346 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:57.347 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:57.347 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:57.347 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:57.347 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:57.348 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:57.348 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:57.348 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:57.349 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:57.351 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:57.351 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:57.354 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:57.354 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t_modify_column_args"] [user=] [2024/05/18 21:50:57.355 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="create table t_modify_column_args(a int, unique(a))"] [user=] [2024/05/18 21:50:57.357 +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-18 21:50:57.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.357 +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-18 21:50:57.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_modify_column_args(a int, unique(a))"] [2024/05/18 21:50:57.361 +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-18 21:50:57.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.364 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=205.762µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.365 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:57.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=52] ["take time"=2.308161ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.370 +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-18 21:50:57.356 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.373 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:57.373 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.373 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=52] [cur_db=test] [sql="alter table t_modify_column_args modify column a tinyint"] [user=] [2024/05/18 21:50:57.376 +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-18 21:50:57.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:50:57.376 +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-18 21:50:57.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_modify_column_args modify column a tinyint"] [2024/05/18 21:50:57.381 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 19, tp add index"] [category=ddl] [jobID=106] [conn=2] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:57.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:57.381 +00:00] [INFO] [ddl_worker.go:1168] ["DDL job is cancelled normally"] [worker="worker 19, tp add index"] [category=ddl] [jobID=106] [conn=2] [error="mock update version and tableInfo error, jobID=106"] [errorVerbose="mock update version and tableInfo error, jobID=106\ngithub.com/pingcap/tidb/pkg/ddl.updateVersionAndTableInfo\n\tpkg/ddl/table.go:1620\ngithub.com/pingcap/tidb/pkg/ddl.updateVersionAndTableInfoWithCheck\n\tpkg/ddl/table.go:1606\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).doModifyColumnTypeWithData\n\tpkg/ddl/column.go:725\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onModifyColumn\n\tpkg/ddl/column.go:621\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go: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/18 21:50:57.382 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 19, tp add index"] [category=ddl] [jobID=106] [conn=2] [job="ID:106, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-18 21:50:57.374 +0000 UTC, Err:[ddl:-1]mock update version and tableInfo error, jobID=106, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:50:57.384 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=106] [2024/05/18 21:50:57.384 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:57.384 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=52] [error="[ddl:-1]mock update version and tableInfo error, jobID=106"] [errorVerbose="[ddl:-1]mock update version and tableInfo error, jobID=106\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.TestModifyColumnTypeArgs\n\tpkg/ddl/db_change_failpoints_test.go:51\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:57.388 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f17cdd30-c358-48cf-af02-654ad66df84d] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=2.256µs] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=1.216µs] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.268µs] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=1.093µs] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=958ns] [2024/05/18 21:50:57.388 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:57.389 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:57.389 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:57.389 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=f17cdd30-c358-48cf-af02-654ad66df84d] ["take time"=3.750977ms] [2024/05/18 21:50:57.389 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=f17cdd30-c358-48cf-af02-654ad66df84d] [2024/05/18 21:50:57.389 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:57.389 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:57.389 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:57.389 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:57.389 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:57.390 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f17cdd30-c358-48cf-af02-654ad66df84d] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:57.390 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f17cdd30-c358-48cf-af02-654ad66df84d] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:57.390 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.390 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:57.390 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=5.231995ms] [2024/05/18 21:50:57.391 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:57.391 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:57.391 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:57.391 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:57.391 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:57.391 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestModifyColumnTypeArgs (1.41s) === RUN TestParallelDDLBeforeRunDDLJob [2024/05/18 21:50:57.394 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:57.394 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.394 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.395 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.395 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.395 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.397 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=aa2090d6-d52e-4397-80ea-dd6a9b96118a] ["ddl lease"=200ms] ["stats lease"=-1ns] [2024/05/18 21:50:57.402 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:57.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/18 21:50:57.402 +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.TestParallelDDLBeforeRunDDLJob\n\tpkg/ddl/db_change_test.go:1511\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:57.416 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=13.967403ms] [2024/05/18 21:50:57.418 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:57.418 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=56c88285-a783-4993-b7c7-c8e3eede4535] [runWorker=true] [2024/05/18 21:50:57.418 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:57.418 +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/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:57.418 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:57.418 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:57.418 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:57.418 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:57.418 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:57.418 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:57.419 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:57.419 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:57.419 +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/18 21:50:57.421 +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-18 21:50:57.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.421 +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-18 21:50:57.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:57.426 +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-18 21:50:57.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.444 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=16.438424ms] [2024/05/18 21:50:57.446 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:57.448 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.448 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:57.449 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=20.641287ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:57.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.454 +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-18 21:50:57.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.456 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:57.456 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.456 +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/18 21:50:57.457 +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/18 21:50:57.462 +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-18 21:50:57.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.462 +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-18 21:50:57.459 +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/18 21:50:57.469 +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-18 21:50:57.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.476 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=789.928µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.477 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.477 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:57.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=2.037759ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.482 +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-18 21:50:57.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.489 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:57.489 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.490 +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/18 21:50:57.492 +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-18 21:50:57.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.493 +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-18 21:50:57.491 +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/18 21:50:57.499 +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-18 21:50:57.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.502 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=279.755µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.503 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.503 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:57.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=3] ["take time"=2.394932ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.508 +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-18 21:50:57.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.512 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:57.512 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.512 +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/18 21:50:57.514 +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-18 21:50:57.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.514 +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-18 21:50:57.513 +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/18 21:50:57.521 +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-18 21:50:57.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.524 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=267.859µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.525 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.525 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:57.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=4] ["take time"=2.010896ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.530 +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-18 21:50:57.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.533 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:57.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.534 +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/18 21:50:57.538 +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-18 21:50:57.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.538 +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-18 21:50:57.536 +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/18 21:50:57.544 +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-18 21:50:57.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.550 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=700.84µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.552 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.552 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:57.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=5] ["take time"=4.880268ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.560 +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-18 21:50:57.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.565 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:57.565 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.566 +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/18 21:50:57.568 +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-18 21:50:57.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.568 +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-18 21:50:57.567 +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/18 21:50:57.574 +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-18 21:50:57.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.577 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=405.521µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.578 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.578 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:57.579 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.753883ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.584 +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-18 21:50:57.567 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.587 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:57.587 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.588 +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/18 21:50:57.590 +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-18 21:50:57.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.590 +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-18 21:50:57.589 +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/18 21:50:57.596 +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-18 21:50:57.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.599 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=362.495µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.601 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.601 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:57.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=7] ["take time"=3.181343ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.606 +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-18 21:50:57.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.610 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:57.610 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.610 +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/18 21:50:57.613 +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-18 21:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.613 +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-18 21:50:57.612 +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/18 21:50:57.619 +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-18 21:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.621 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=246.803µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.622 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.622 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:57.624 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.835337ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.627 +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-18 21:50:57.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.629 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:57.629 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.630 +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/18 21:50:57.632 +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-18 21:50:57.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.632 +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-18 21:50:57.631 +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/18 21:50:57.639 +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-18 21:50:57.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.641 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=179.336µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.642 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.642 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:57.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=9] ["take time"=2.028053ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.647 +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-18 21:50:57.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.650 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:57.650 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.650 +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/18 21:50:57.653 +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-18 21:50:57.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.653 +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-18 21:50:57.652 +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/18 21:50:57.660 +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-18 21:50:57.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.663 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=323.457µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.664 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.664 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:57.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=10] ["take time"=4.357111ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.671 +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-18 21:50:57.652 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.674 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:57.674 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.675 +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/18 21:50:57.680 +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-18 21:50:57.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.680 +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-18 21:50:57.678 +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/18 21:50:57.685 +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-18 21:50:57.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.688 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=218.088µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.689 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.689 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:57.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=11] ["take time"=2.155503ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.701 +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-18 21:50:57.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.705 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:57.705 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.706 +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/18 21:50:57.706 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:57.709 +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-18 21:50:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.709 +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-18 21:50:57.707 +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/18 21:50:57.715 +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-18 21:50:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.719 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=480.615µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.721 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.721 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50: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=12] ["take time"=4.367623ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.729 +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-18 21:50:57.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.733 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:57.733 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.734 +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/18 21:50:57.737 +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-18 21:50:57.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.737 +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-18 21:50:57.735 +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/18 21:50:57.743 +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-18 21:50:57.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.746 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=412.269µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.747 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.747 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:57.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=13] ["take time"=2.036371ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.753 +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-18 21:50:57.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.757 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:57.757 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.758 +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/18 21:50:57.761 +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-18 21:50:57.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.761 +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-18 21:50:57.759 +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/18 21:50:57.767 +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-18 21:50:57.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.770 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=216.448µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.771 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.771 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:57.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=14] ["take time"=2.193944ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.777 +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-18 21:50:57.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.781 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:57.781 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.781 +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/18 21:50:57.784 +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-18 21:50:57.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.784 +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-18 21:50:57.783 +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/18 21:50:57.791 +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-18 21:50:57.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.794 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=241.779µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.795 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.796 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:57.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=15] ["take time"=2.959411ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.802 +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-18 21:50:57.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.806 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:57.806 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.806 +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/18 21:50:57.809 +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-18 21:50:57.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.809 +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-18 21:50:57.808 +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/18 21:50:57.815 +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-18 21:50:57.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.818 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=243.174µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.820 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.820 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:57.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.059964ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.827 +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-18 21:50:57.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.830 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:57.830 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.831 +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/18 21:50:57.833 +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-18 21:50:57.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.833 +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-18 21:50:57.832 +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/18 21:50:57.841 +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-18 21:50:57.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.845 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=339.342µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.846 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.846 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:57.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=17] ["take time"=4.297119ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.854 +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-18 21:50:57.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.857 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:57.857 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.858 +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/18 21:50:57.860 +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-18 21:50:57.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.860 +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-18 21:50:57.859 +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/18 21:50:57.865 +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-18 21:50:57.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.867 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=213.89µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.868 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.869 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:57.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=18] ["take time"=2.119364ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.877 +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-18 21:50:57.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.880 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:57.880 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.880 +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/18 21:50:57.883 +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-18 21:50:57.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.883 +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-18 21:50:57.881 +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/18 21:50:57.889 +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-18 21:50:57.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.892 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=446.344µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.894 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.894 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:57.894 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.066061ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.898 +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-18 21:50:57.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.902 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:57.902 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.904 +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/18 21:50:57.906 +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-18 21:50:57.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.906 +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-18 21:50:57.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/18 21:50:57.912 +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-18 21:50:57.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.915 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=297.012µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.916 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.916 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:57.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=20] ["take time"=3.012112ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.922 +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-18 21:50:57.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.925 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:57.925 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.925 +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/18 21:50:57.928 +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-18 21:50:57.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.928 +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-18 21:50:57.927 +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/18 21:50:57.935 +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-18 21:50:57.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.938 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=257.046µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.939 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:57.941 +00:00] [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.054602ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.945 +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-18 21:50:57.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.948 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:57.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.949 +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/18 21:50:57.951 +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-18 21:50:57.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.951 +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-18 21:50:57.95 +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/18 21:50:57.957 +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-18 21:50:57.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.959 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=140.121µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.960 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:57.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=22] ["take time"=2.129396ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.966 +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-18 21:50:57.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.970 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:57.970 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.970 +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/18 21:50:57.973 +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-18 21:50:57.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.973 +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-18 21:50:57.972 +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/18 21:50:57.979 +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-18 21:50:57.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.982 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=277.673µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:57.983 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:57.983 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:57.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=23] ["take time"=3.97403ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.991 +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-18 21:50:57.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:57.995 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:57.995 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:57.995 +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/18 21:50:57.998 +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-18 21:50:57.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:57.998 +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-18 21:50:57.996 +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/18 21:50:58.005 +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-18 21:50:57.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.008 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=261.589µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.009 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.009 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:58.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=24] ["take time"=2.259054ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:57.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.014 +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-18 21:50:57.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.018 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:58.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.019 +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/18 21:50:58.021 +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-18 21:50:58.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.021 +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-18 21:50:58.02 +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/18 21:50:58.027 +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-18 21:50:58.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.030 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=289.569µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.032 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.032 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:58.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=25] ["take time"=3.039738ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.038 +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-18 21:50:58.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.042 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:58.042 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.042 +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/18 21:50:58.044 +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-18 21:50:58.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.044 +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-18 21:50:58.043 +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/18 21:50:58.051 +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-18 21:50:58.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.055 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=226.462µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.057 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.057 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:58.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=26] ["take time"=4.799992ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.063 +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-18 21:50:58.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.066 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:58.066 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.067 +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/18 21:50:58.070 +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-18 21:50:58.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.070 +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-18 21:50:58.068 +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/18 21:50:58.078 +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-18 21:50:58.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.081 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=340.736µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.082 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.082 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:58.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=27] ["take time"=2.063416ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.087 +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-18 21:50:58.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.091 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:50:58.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.091 +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/18 21:50:58.099 +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-18 21:50:58.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.099 +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-18 21:50:58.098 +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/18 21:50:58.104 +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-18 21:50:58.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.107 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=184.504µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.108 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.108 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:50:58.109 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.915421ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.114 +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-18 21:50:58.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.117 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:50:58.117 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.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/18 21:50:58.117 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:58.120 +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-18 21:50:58.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.120 +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-18 21:50:58.118 +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/18 21:50:58.125 +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-18 21:50:58.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.128 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=301.801µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.129 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.129 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:50:58.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=29] ["take time"=2.218361ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.136 +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-18 21:50:58.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.139 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:50:58.139 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.140 +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/18 21:50:58.143 +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-18 21:50:58.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.143 +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-18 21:50:58.141 +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/18 21:50:58.149 +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-18 21:50:58.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.152 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=403.778µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.153 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.153 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:50:58.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=30] ["take time"=2.707013ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.159 +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-18 21:50:58.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.162 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:50:58.162 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.163 +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/18 21:50:58.165 +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-18 21:50:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.166 +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-18 21:50:58.164 +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/18 21:50:58.172 +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-18 21:50:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.175 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=394.646µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.177 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.177 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:50:58.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=31] ["take time"=2.059273ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.181 +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-18 21:50:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.185 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:50:58.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.185 +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/18 21:50:58.189 +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-18 21:50:58.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.189 +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-18 21:50:58.187 +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/18 21:50:58.199 +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-18 21:50:58.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.203 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=515.763µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.204 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.204 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:50:58.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=32] ["take time"=2.083195ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.209 +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-18 21:50:58.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.214 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:50:58.214 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.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/18 21:50:58.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-18 21:50:58.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.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-18 21:50:58.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/18 21:50:58.222 +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-18 21:50:58.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.224 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=210.537µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.226 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.226 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:50:58.226 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.021669ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.230 +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-18 21:50:58.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.232 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:50:58.232 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.236 +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-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.236 +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-18 21:50:58.235 +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/18 21:50:58.241 +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-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.244 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=333.083µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:58.245 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.245 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:50:58.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=34] ["take time"=3.050443ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.251 +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-18 21:50:58.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.254 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:50:58.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.255 +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/18 21:50:58.257 +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-18 21:50:58.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.257 +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-18 21:50:58.256 +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/18 21:50:58.263 +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-18 21:50:58.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.266 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=338.01µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.267 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.267 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:50:58.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=35] ["take time"=2.303979ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.277 +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-18 21:50:58.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.280 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:50:58.280 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.281 +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/18 21:50:58.283 +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-18 21:50:58.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.283 +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-18 21:50:58.282 +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/18 21:50:58.289 +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-18 21:50:58.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.292 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=287.308µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.293 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.293 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:50: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=36] ["take time"=2.207312ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.298 +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-18 21:50:58.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.301 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:50:58.302 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.302 +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/18 21:50:58.305 +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-18 21:50:58.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.305 +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-18 21:50:58.303 +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/18 21:50:58.317 +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-18 21:50:58.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.337 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=323.904µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.339 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.339 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:50:58.341 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=4.575203ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.346 +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-18 21:50:58.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.350 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:50:58.350 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.350 +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/18 21:50:58.354 +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-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.354 +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-18 21:50:58.352 +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/18 21:50:58.375 +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-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.383 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=588.531µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.385 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.385 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:50:58.387 +00:00] [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.644065ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.393 +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-18 21:50:58.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.399 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:50:58.399 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.399 +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/18 21:50:58.403 +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-18 21:50:58.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.403 +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-18 21:50:58.401 +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/18 21:50:58.416 +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-18 21:50:58.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.419 +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/18 21:50:58.422 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=459.282µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.424 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.424 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:50:58.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=39] ["take time"=2.974106ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.430 +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-18 21:50:58.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.440 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:50:58.440 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.440 +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/18 21:50:58.444 +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-18 21:50:58.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.444 +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-18 21:50:58.442 +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/18 21:50:58.450 +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-18 21:50:58.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.456 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=629.002µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.457 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.457 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:50:58.462 +00:00] [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.926591ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.469 +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-18 21:50:58.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.472 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:50:58.472 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.473 +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/18 21:50:58.476 +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-18 21:50:58.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.476 +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-18 21:50:58.474 +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/18 21:50:58.484 +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-18 21:50:58.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.488 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=470.063µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.489 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.489 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:50:58.489 +00:00] [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.111688ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.496 +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-18 21:50:58.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.500 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:50:58.501 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.501 +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/18 21:50:58.505 +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-18 21:50:58.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.505 +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-18 21:50:58.503 +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/18 21:50:58.512 +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-18 21:50:58.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.517 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=403.472µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.518 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.518 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:50:58.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=42] ["take time"=14.25629ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.535 +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-18 21:50:58.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.540 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:50:58.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.540 +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/18 21:50:58.545 +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-18 21:50:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.545 +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-18 21:50:58.543 +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/18 21:50:58.552 +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-18 21:50:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.556 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=418.192µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.557 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.557 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:50:58.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=43] ["take time"=2.502147ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.562 +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-18 21:50:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.566 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:50:58.566 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.567 +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/18 21:50:58.570 +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-18 21:50:58.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.570 +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-18 21:50:58.568 +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/18 21:50:58.574 +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-18 21:50:58.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.578 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=371.237µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.579 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.579 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:50:58.580 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.230692ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.584 +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-18 21:50:58.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.588 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:50:58.588 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.589 +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/18 21:50:58.591 +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-18 21:50:58.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.591 +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-18 21:50:58.59 +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/18 21:50:58.598 +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-18 21:50:58.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.601 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=277.226µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.602 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.602 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:50: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=45] ["take time"=5.578671ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.611 +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-18 21:50:58.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.615 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:50:58.615 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.616 +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/18 21:50:58.619 +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-18 21:50:58.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.619 +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-18 21:50:58.617 +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/18 21:50:58.625 +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-18 21:50:58.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.630 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=632.532µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.631 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:50:58.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=46] ["take time"=4.75629ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.639 +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-18 21:50:58.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.644 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:50:58.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.645 +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/18 21:50:58.648 +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-18 21:50:58.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.648 +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-18 21:50:58.646 +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/18 21:50:58.655 +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-18 21:50:58.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.686 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=891.322µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.687 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.687 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:50:58.701 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=19.077283ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.708 +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-18 21:50:58.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.711 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:50:58.711 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.712 +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/18 21:50:58.714 +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-18 21:50:58.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.714 +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-18 21:50:58.713 +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/18 21:50:58.721 +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-18 21:50:58.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.723 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=283.694µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.724 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.724 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:50:58.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=48] ["take time"=2.035998ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.728 +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-18 21:50:58.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.732 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:50:58.732 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.732 +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/18 21:50:58.735 +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-18 21:50:58.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.735 +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-18 21:50:58.733 +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/18 21:50:58.741 +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-18 21:50:58.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.745 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=307.084µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.746 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.746 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:50:58.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=49] ["take time"=3.02069ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.752 +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-18 21:50:58.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.755 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:50:58.755 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.756 +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/18 21:50:58.758 +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-18 21:50:58.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.758 +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-18 21:50:58.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:50:58.766 +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-18 21:50:58.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.767 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.947µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:50:58.769 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.769 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:50:58.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=50] ["take time"=2.943078ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:58.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.777 +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-18 21:50:58.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.779 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:50:58.779 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.782 +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-18 21:50:58.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.782 +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-18 21:50:58.781 +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/18 21:50:58.790 +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-18 21:50:58.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.793 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=234.459µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:50:58.794 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:58.794 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:50:58.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.130713ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:58.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.800 +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-18 21:50:58.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.803 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:50:58.803 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.829 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.410986768s] [2024/05/18 21:50:58.830 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=56c88285-a783-4993-b7c7-c8e3eede4535] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=2.028µs] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=1.38µs] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=1.183µs] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=1.389µs] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=874ns] [2024/05/18 21:50:58.830 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:58.830 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:58.830 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:58.832 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=56c88285-a783-4993-b7c7-c8e3eede4535] ["take time"=2.618967ms] [2024/05/18 21:50:58.832 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=56c88285-a783-4993-b7c7-c8e3eede4535] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:58.832 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:58.832 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:58.832 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:58.832 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:58.832 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:58.832 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:58.832 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:58.832 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.833159ms] [2024/05/18 21:50:58.832 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=aa2090d6-d52e-4397-80ea-dd6a9b96118a] ["ddl lease"=200ms] ["stats lease"=-1ns] [2024/05/18 21:50:58.840 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:58.840 +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/18 21:50:58.863 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=22.839235ms] [2024/05/18 21:50:58.871 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:58.871 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=435662b1-731d-48e4-9e4c-50cb4471987b] [runWorker=true] [2024/05/18 21:50:58.872 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:58.872 +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/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:58.872 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:58.872 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:58.872 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:58.872 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:58.872 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:58.872 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:58.873 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:58.878 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:58.878 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:50:58.889 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:58.892 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:58.894 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:58.895 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:50:58.895 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:58.895 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:58.895 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:50:58.896 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:58.897 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:50:58.898 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:58.899 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:58.899 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:50:58.899 +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/18 21:50:58.900 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:50:58.901 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:50:58.902 +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-18 21:50:58.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.902 +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-18 21:50:58.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_state default charset utf8 default collate utf8_bin"] [2024/05/18 21:50:58.909 +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 schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.911 +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/18 21:50:58.922 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=11.624653ms] [2024/05/18 21:50:58.923 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:58.924 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:50:58.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"=14.047006ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:58.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.932 +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 schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.934 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:50:58.934 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.935 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=52] [cur_db=test_db_state] [sql="create table test_table (c1 int, c2 int default 1, index (c1))"] [user=] [2024/05/18 21:50:58.938 +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-18 21:50:58.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.938 +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-18 21:50:58.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_table (c1 int, c2 int default 1, index (c1))"] [2024/05/18 21:50:58.944 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, 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-18 21:50:58.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.947 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=224.747µs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:58.948 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/18 21:50:58.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=53] ["take time"=2.457418ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.953 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, 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-18 21:50:58.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:58.956 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:50:58.956 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:58.962 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:50:58.963 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=53] [cur_db=test_db_state] [sql="alter table test_table add column c2 int"] [user=] [2024/05/18 21:50:58.963 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=53] [cur_db=test_db_state] [sql="alter table test_table drop column c2"] [user=] [2024/05/18 21:50:58.965 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:58.965 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table test_table drop column c2"] [2024/05/18 21:50:58.971 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.005 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=53] ["start time"=32.717968ms] [2024/05/18 21:50:59.018 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:59.020 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=275.091µs] [gotSchemaVersion=54] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:50:59.021 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=54] [2024/05/18 21:50:59.023 +00:00] [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"=50.257784ms] [job="ID:108, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.031 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.033 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=211.541µs] [gotSchemaVersion=55] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:50:59.034 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=55] [2024/05/18 21:50: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=55] ["take time"=2.243451ms] [job="ID:108, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.041 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.043 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=213.72µs] [gotSchemaVersion=56] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:50:59.044 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=56] [2024/05/18 21:50:59.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=56] ["take time"=2.62689ms] [job="ID:108, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.051 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.053 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=199.214µs] [gotSchemaVersion=57] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:50:59.054 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=57] [2024/05/18 21:50:59.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=57] ["take time"=2.429278ms] [job="ID:108, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:4, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.060 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="drop column"] [2024/05/18 21:50:59.060 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=1] [job="ID:108, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:4, start time: 2024-05-18 21:50:58.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.065 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/18 21:50:59.065 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.066 +00:00] [INFO] [schema_validator.go:255] ["the related physical table ID is empty"] [schemaVer=53] [latestSchemaVer=57] [2024/05/18 21:50:59.066 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:50:59.066 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=53] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/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/executor.(*DDLExec).toErr\n\tpkg/executor/ddl.go:71\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:224\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).MustMatchErrMsg\n\tpkg/testkit/testkit.go:493\ngithub.com/pingcap/tidb/pkg/ddl_test.TestParallelDDLBeforeRunDDLJob.func3\n\tpkg/ddl/db_change_test.go:1562\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\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:50:59.067 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=435662b1-731d-48e4-9e4c-50cb4471987b] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=1.966µs] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=1.817µs] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=1.395µs] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=1.346µs] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=957ns] [2024/05/18 21:50:59.067 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:50:59.067 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:50:59.067 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:50:59.068 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=435662b1-731d-48e4-9e4c-50cb4471987b] ["take time"=1.613898ms] [2024/05/18 21:50:59.068 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=435662b1-731d-48e4-9e4c-50cb4471987b] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:50:59.068 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:59.068 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:50:59.068 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:50:59.068 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=435662b1-731d-48e4-9e4c-50cb4471987b] [ownerKey=/tidb/stats/owner] [2024/05/18 21:50:59.068 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=435662b1-731d-48e4-9e4c-50cb4471987b] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:59.068 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:50:59.068 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:59.068 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:50:59.069 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.8863ms] [2024/05/18 21:50:59.071 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:50:59.071 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:50:59.071 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:50:59.071 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:50:59.071 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:50:59.071 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestParallelDDLBeforeRunDDLJob (1.68s) === RUN TestAddExpressionIndex [2024/05/18 21:50:59.077 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:50:59.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:59.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:59.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:59.077 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:59.078 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:59.080 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=94b51ec0-0700-491c-a344-1946f45c2604] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:50:59.086 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:50:59.086 +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/18 21:50:59.086 +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.TestAddExpressionIndex\n\tpkg/ddl/db_integration_test.go:1885\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:50:59.102 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=15.726102ms] [2024/05/18 21:50:59.104 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:59.104 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=cd13b74d-7273-41b9-9d7f-d6a7c5c616fb] [runWorker=true] [2024/05/18 21:50:59.105 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:50:59.105 +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/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:50:59.105 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:50:59.105 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:50:59.105 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:59.105 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:50:59.105 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:50:59.105 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:50:59.105 +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/18 21:50:59.108 +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-18 21:50:59.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.108 +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-18 21:50:59.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:50:59.155 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:50:59.155 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:50:59.161 +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-18 21:50:59.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.184 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=18.537785ms] [2024/05/18 21:50:59.186 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:50:59.187 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.187 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:50:59.190 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=25.088013ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:50:59.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.195 +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-18 21:50:59.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.198 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:50:59.198 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.198 +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/18 21:50:59.199 +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/18 21:50:59.205 +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-18 21:50:59.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.205 +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-18 21:50:59.201 +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/18 21:50:59.215 +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-18 21:50:59.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.224 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.283282ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.226 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.226 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:50:59.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=2] ["take time"=4.269646ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.234 +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-18 21:50:59.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.240 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:50:59.240 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.240 +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/18 21:50:59.242 +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-18 21:50:59.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.242 +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-18 21:50:59.241 +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/18 21:50:59.250 +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-18 21:50:59.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.255 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=309.136µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.256 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.256 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:50:59.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=3] ["take time"=2.418049ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.268 +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-18 21:50:59.241 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.272 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:50:59.272 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.273 +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/18 21:50:59.281 +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-18 21:50:59.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.281 +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-18 21:50:59.279 +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/18 21:50:59.286 +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-18 21:50:59.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.288 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=251.532µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.290 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.290 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:50:59.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=4] ["take time"=2.100708ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.295 +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-18 21:50:59.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.301 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:50:59.301 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.302 +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/18 21:50:59.308 +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-18 21:50:59.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.308 +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-18 21:50:59.304 +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/18 21:50:59.312 +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-18 21:50:59.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=769.455µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.319 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.319 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:50:59.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=5] ["take time"=5.050332ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.327 +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-18 21:50:59.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.332 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:50:59.332 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.333 +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/18 21:50:59.336 +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-18 21:50:59.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.336 +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-18 21:50:59.334 +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/18 21:50:59.344 +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-18 21:50:59.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.347 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=321.358µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.348 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.348 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:50:59.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=6] ["take time"=2.082407ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.355 +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-18 21:50:59.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.359 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:50:59.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.359 +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/18 21:50:59.362 +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-18 21:50:59.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.362 +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-18 21:50:59.361 +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/18 21:50:59.369 +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-18 21:50:59.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.373 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=381.18µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.374 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.374 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:50:59.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=7] ["take time"=2.411628ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.379 +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-18 21:50:59.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.381 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:50:59.381 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.382 +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/18 21:50:59.385 +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-18 21:50:59.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.385 +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-18 21:50:59.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/18 21:50:59.391 +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-18 21:50:59.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.394 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=239.085µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.395 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.395 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:50:59.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=8] ["take time"=2.445479ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.399 +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-18 21:50:59.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.403 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:50:59.403 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.403 +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/18 21:50:59.406 +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-18 21:50:59.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.406 +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-18 21:50:59.405 +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/18 21:50:59.413 +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-18 21:50:59.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.416 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=265.333µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.417 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.417 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:50:59.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=9] ["take time"=2.484323ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.422 +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-18 21:50:59.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.425 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:50:59.425 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.426 +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/18 21:50:59.430 +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-18 21:50:59.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.430 +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-18 21:50:59.429 +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/18 21:50:59.435 +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-18 21:50:59.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.438 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=324.12µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.439 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.439 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:50:59.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.657789ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.446 +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-18 21:50:59.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.451 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:50:59.451 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.451 +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/18 21:50:59.454 +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-18 21:50:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.454 +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-18 21:50:59.453 +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/18 21:50:59.459 +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-18 21:50:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.462 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=310.037µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.463 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.463 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:50:59.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=11] ["take time"=2.015136ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.469 +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-18 21:50:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.473 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:50:59.473 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.474 +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/18 21:50:59.474 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:50:59.477 +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-18 21:50:59.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.477 +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-18 21:50:59.475 +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/18 21:50:59.485 +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-18 21:50:59.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.489 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=507.437µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.491 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.491 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:50:59.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=12] ["take time"=4.750381ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.498 +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-18 21:50:59.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.503 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:50:59.503 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.503 +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/18 21:50:59.506 +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-18 21:50:59.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.506 +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-18 21:50:59.504 +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/18 21:50:59.515 +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-18 21:50:59.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.519 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=432.759µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.520 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.520 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:50:59.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=13] ["take time"=2.045201ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.526 +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-18 21:50:59.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.531 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:50:59.531 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.531 +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/18 21:50:59.536 +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-18 21:50:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.536 +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-18 21:50:59.535 +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/18 21:50:59.542 +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-18 21:50:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.545 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=333.566µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.547 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.547 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:50:59.547 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.027384ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.552 +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-18 21:50:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.557 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:50:59.557 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.558 +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/18 21:50:59.561 +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-18 21:50:59.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.561 +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-18 21:50:59.56 +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/18 21:50:59.569 +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-18 21:50:59.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.573 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=369.645µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.574 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.574 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:50:59.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=15] ["take time"=2.064899ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.580 +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-18 21:50:59.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.583 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:50:59.584 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.584 +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/18 21:50:59.587 +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-18 21:50:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.587 +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-18 21:50:59.586 +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/18 21:50:59.601 +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-18 21:50:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.611 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=309.989µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.613 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.613 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:50:59.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=16] ["take time"=2.619252ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.618 +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-18 21:50:59.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.621 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:50:59.621 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.621 +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/18 21:50:59.626 +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-18 21:50:59.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.626 +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-18 21:50:59.623 +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/18 21:50:59.632 +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-18 21:50:59.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.634 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=244.333µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.635 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.635 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:50:59.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=17] ["take time"=2.063263ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.642 +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-18 21:50:59.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.646 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:50:59.646 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.647 +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/18 21:50:59.649 +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-18 21:50:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.649 +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-18 21:50:59.648 +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/18 21:50:59.656 +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-18 21:50:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.659 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=323.278µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.660 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.660 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:50:59.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=18] ["take time"=2.308784ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.666 +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-18 21:50:59.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.670 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:50:59.670 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.670 +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/18 21:50:59.674 +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-18 21:50:59.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.674 +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-18 21:50:59.672 +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/18 21:50:59.688 +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-18 21:50:59.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.695 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=513.204µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.696 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.696 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:50:59.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=19] ["take time"=2.031466ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.703 +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-18 21:50:59.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.708 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:50:59.708 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.709 +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/18 21:50:59.712 +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-18 21:50:59.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.712 +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-18 21:50:59.711 +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/18 21:50:59.719 +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-18 21:50:59.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.722 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=337.001µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.723 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.723 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:50:59.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"=3.305976ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.733 +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-18 21:50:59.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.736 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:50:59.736 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.737 +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/18 21:50:59.740 +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-18 21:50:59.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.740 +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-18 21:50:59.738 +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/18 21:50:59.749 +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-18 21:50:59.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.751 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=165.168µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.752 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.752 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:50:59.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"=2.037586ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.758 +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-18 21:50:59.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.761 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:50:59.761 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.761 +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/18 21:50:59.763 +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-18 21:50:59.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.764 +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-18 21:50:59.762 +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/18 21:50:59.768 +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-18 21:50:59.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.776 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=205.27µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.778 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.778 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:50:59.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=22] ["take time"=4.962504ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.787 +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-18 21:50:59.762 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.790 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:50:59.790 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.791 +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/18 21:50:59.795 +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-18 21:50:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.795 +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-18 21:50:59.792 +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/18 21:50:59.812 +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-18 21:50:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.823 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=417.939µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.825 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.825 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:50:59.827 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=4.433764ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.837 +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-18 21:50:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.841 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:50:59.841 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.841 +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/18 21:50:59.853 +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-18 21:50:59.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.853 +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-18 21:50:59.842 +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/18 21:50:59.860 +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-18 21:50:59.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.862 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=255.979µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.864 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.864 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:50:59.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=24] ["take time"=4.480993ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.873 +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-18 21:50:59.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.878 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:50:59.878 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.878 +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/18 21:50:59.881 +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-18 21:50:59.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.881 +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-18 21:50:59.88 +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/18 21:50:59.897 +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-18 21:50:59.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.900 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=268.478µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.901 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.901 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:50:59.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=25] ["take time"=2.658228ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.915 +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-18 21:50:59.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.919 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:50:59.919 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.919 +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/18 21:50:59.922 +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-18 21:50:59.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.922 +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-18 21:50:59.921 +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/18 21:50:59.929 +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-18 21:50:59.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.943 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=289.136µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.945 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.945 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:50:59.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=26] ["take time"=4.380607ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.955 +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-18 21:50:59.921 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.963 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:50:59.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:50:59.963 +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/18 21:50:59.966 +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-18 21:50:59.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:50:59.966 +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-18 21:50:59.965 +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/18 21:50:59.974 +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-18 21:50:59.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.977 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=310.985µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:50:59.978 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:50:59.978 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:50:59.979 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.125427ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:50:59.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:50:59.998 +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-18 21:50:59.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.002 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:51:00.002 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.002 +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/18 21:51:00.005 +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-18 21:51:00.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.005 +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-18 21:51:00.004 +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/18 21:51:00.011 +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-18 21:51:00.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.014 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=246.083µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.015 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.016 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:51:00.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=28] ["take time"=2.086539ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.022 +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-18 21:51:00.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.025 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:51:00.025 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.025 +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/18 21:51:00.025 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:00.028 +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-18 21:51:00.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.028 +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-18 21:51:00.027 +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/18 21:51:00.033 +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-18 21:51:00.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=355.283µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.038 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.038 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:51:00.038 +00:00] [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.029415ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.043 +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-18 21:51:00.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.047 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:51:00.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.048 +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/18 21:51:00.051 +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-18 21:51:00.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.051 +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-18 21:51:00.049 +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/18 21:51:00.057 +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-18 21:51:00.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.060 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=300.377µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.061 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.061 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:51:00.062 +00:00] [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.269203ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.067 +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-18 21:51:00.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.071 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:51:00.071 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.072 +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/18 21:51:00.076 +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-18 21:51:00.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.076 +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-18 21:51:00.074 +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/18 21:51:00.085 +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-18 21:51:00.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.088 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=412.781µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.089 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.089 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:51: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=31] ["take time"=4.640454ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.098 +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-18 21:51:00.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.102 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:51:00.102 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.102 +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/18 21:51:00.106 +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/18 21:51:00.106 +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-18 21:51:00.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.106 +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-18 21:51:00.104 +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/18 21:51:00.112 +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-18 21:51:00.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.116 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=517.064µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.117 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.117 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:51:00.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=32] ["take time"=4.61097ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.126 +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-18 21:51:00.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.132 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:51:00.132 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.132 +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/18 21:51:00.135 +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-18 21:51:00.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.135 +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-18 21:51:00.134 +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/18 21:51:00.141 +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-18 21:51:00.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.143 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=241.349µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.145 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.145 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:51:00.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=33] ["take time"=2.297536ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.151 +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-18 21:51:00.134 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.154 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:51:00.154 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.158 +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-18 21:51:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.158 +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-18 21:51:00.157 +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/18 21:51:00.164 +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-18 21:51:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.168 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=337.952µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:00.169 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.169 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:51:00.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=34] ["take time"=3.031195ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.174 +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-18 21:51:00.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.178 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:51:00.178 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.178 +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/18 21:51:00.183 +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-18 21:51:00.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.183 +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-18 21:51:00.179 +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/18 21:51:00.189 +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-18 21:51:00.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.191 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=286.82µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.193 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.193 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:51:00.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.272089ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.200 +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-18 21:51:00.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.204 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:51:00.204 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.205 +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/18 21:51:00.209 +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-18 21:51:00.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.209 +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-18 21:51:00.206 +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/18 21:51:00.215 +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-18 21:51:00.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.218 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=199.761µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.219 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.219 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:51:00.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=36] ["take time"=3.940712ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.226 +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-18 21:51:00.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.230 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:51:00.230 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.230 +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/18 21:51:00.240 +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-18 21:51:00.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.240 +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-18 21:51:00.231 +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/18 21:51:00.246 +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-18 21:51:00.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.249 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=185.031µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.250 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.250 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:51:00.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=37] ["take time"=2.486139ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.255 +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-18 21:51:00.231 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.258 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:51:00.258 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.259 +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/18 21:51:00.266 +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-18 21:51:00.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.266 +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-18 21:51:00.263 +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/18 21:51:00.274 +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-18 21:51:00.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.279 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=555.139µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.280 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.280 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:51:00.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=38] ["take time"=4.990632ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.290 +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-18 21:51:00.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.300 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:51:00.300 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.300 +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/18 21:51:00.305 +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-18 21:51:00.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.305 +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-18 21:51:00.303 +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/18 21:51:00.313 +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-18 21:51:00.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=495.328µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.320 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.320 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:51:00.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=39] ["take time"=6.143327ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.329 +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-18 21:51:00.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.333 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:51:00.333 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.334 +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/18 21:51:00.338 +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-18 21:51:00.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.338 +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-18 21:51:00.336 +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/18 21:51:00.343 +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-18 21:51:00.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.348 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=580.956µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.349 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.349 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:51:00.352 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=5.02348ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.357 +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-18 21:51:00.336 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.362 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:51:00.362 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.362 +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/18 21:51:00.366 +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-18 21:51:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.366 +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-18 21:51:00.364 +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/18 21:51:00.376 +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-18 21:51:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.379 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=518.309µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.380 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.381 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:51:00.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=41] ["take time"=2.602285ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.387 +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-18 21:51:00.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.391 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:51:00.391 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.391 +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/18 21:51:00.396 +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-18 21:51:00.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.396 +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-18 21:51:00.393 +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/18 21:51:00.402 +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-18 21:51:00.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.407 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=588.891µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.408 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.408 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:51:00.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=42] ["take time"=2.681899ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.415 +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-18 21:51:00.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.420 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:51:00.420 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.421 +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/18 21:51:00.424 +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-18 21:51:00.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.424 +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-18 21:51:00.422 +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/18 21:51:00.432 +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-18 21:51:00.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.436 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=510.833µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.438 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.438 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:51:00.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.07569ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.445 +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-18 21:51:00.422 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.450 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:51:00.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.450 +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/18 21:51:00.453 +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-18 21:51:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.453 +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-18 21:51:00.452 +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/18 21:51:00.462 +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-18 21:51:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.469 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=428.046µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.470 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.470 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:51:00.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=44] ["take time"=3.037159ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.477 +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-18 21:51:00.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.481 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:51:00.481 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.481 +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/18 21:51:00.484 +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-18 21:51:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.484 +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-18 21:51:00.482 +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/18 21:51:00.491 +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-18 21:51:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.495 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=304.944µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.496 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.496 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:51:00.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=45] ["take time"=2.396471ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.504 +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-18 21:51:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.508 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:51:00.508 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.508 +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/18 21:51:00.512 +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-18 21:51:00.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.512 +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-18 21:51:00.51 +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/18 21:51:00.518 +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-18 21:51:00.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.524 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=616.648µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.525 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.525 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:51:00.527 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.346409ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.535 +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-18 21:51:00.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.542 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:51:00.542 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.543 +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/18 21:51:00.548 +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-18 21:51:00.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.548 +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-18 21:51:00.544 +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/18 21:51:00.555 +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-18 21:51:00.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.560 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=387.454µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.561 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.561 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:51:00.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=47] ["take time"=3.679902ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.570 +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-18 21:51:00.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.580 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:51:00.580 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.581 +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/18 21:51:00.585 +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-18 21:51:00.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.585 +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-18 21:51:00.583 +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/18 21:51:00.594 +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-18 21:51:00.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.597 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=304.221µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.599 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.599 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:51:00.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=48] ["take time"=2.008329ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.604 +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-18 21:51:00.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.608 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:51:00.608 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.608 +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/18 21:51:00.614 +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-18 21:51:00.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.614 +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-18 21:51:00.61 +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/18 21:51:00.620 +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-18 21:51:00.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.623 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=224.437µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:00.624 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.624 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:51:00.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=49] ["take time"=2.869214ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.630 +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-18 21:51:00.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.633 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:51:00.633 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.633 +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/18 21:51:00.635 +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-18 21:51:00.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.635 +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-18 21:51:00.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:51:00.643 +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-18 21:51:00.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.646 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.737µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:51:00.647 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.647 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:51:00.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=50] ["take time"=2.853817ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:00.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.654 +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-18 21:51:00.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.657 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:51:00.657 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.661 +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-18 21:51:00.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.661 +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-18 21:51:00.659 +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/18 21:51:00.669 +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-18 21:51:00.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.672 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=239.65µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:00.673 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:00.673 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:51: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=51] ["take time"=2.433168ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:00.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.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-18 21:51:00.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.682 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:51:00.682 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.717 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.612045573s] [2024/05/18 21:51:00.717 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=cd13b74d-7273-41b9-9d7f-d6a7c5c616fb] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=1.552µs] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=1.744µs] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=1.011µs] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=1.161µs] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=1.123µs] [2024/05/18 21:51:00.717 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:00.717 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:00.717 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:00.721 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=cd13b74d-7273-41b9-9d7f-d6a7c5c616fb] ["take time"=4.119137ms] [2024/05/18 21:51:00.721 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=cd13b74d-7273-41b9-9d7f-d6a7c5c616fb] [2024/05/18 21:51:00.721 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:00.721 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:00.721 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:00.721 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:00.721 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:00.721 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:00.721 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:00.721 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:00.721 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:00.722 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:00.722 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:00.722 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:00.722 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:00.722 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:00.722 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.656041ms] [2024/05/18 21:51:00.722 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=94b51ec0-0700-491c-a344-1946f45c2604] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:51:00.729 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:00.729 +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/18 21:51:00.760 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=29.845735ms] [2024/05/18 21:51:00.773 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:00.773 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=342f68da-d227-4fa6-bbd8-35fee6c554e0] [runWorker=true] [2024/05/18 21:51:00.773 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:00.773 +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/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:00.773 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:00.773 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:00.774 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:00.774 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:00.774 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:00.774 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:00.774 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:00.781 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:00.781 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:51:00.796 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:00.799 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:00.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:00.801 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:51:00.801 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:00.801 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:00.801 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:51:00.802 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:00.802 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:00.803 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:00.805 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:51:00.813 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:00.813 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:51:00.813 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:51:00.814 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t;"] [user=] [2024/05/18 21:51:00.814 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b real);"] [user=] [2024/05/18 21:51:00.817 +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-18 21:51:00.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:00.817 +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-18 21:51:00.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b real);"] [2024/05/18 21:51:00.826 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=6] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:00.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.829 +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/18 21:51:00.845 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=15.616776ms] [2024/05/18 21:51:00.845 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:00.847 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:51:00.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=52] ["take time"=18.875288ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:00.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.853 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=6] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:00.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:00.856 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:51:00.856 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:00.857 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=52] [cur_db=test] [sql="alter table t add index idx((a+b));"] [user=] [2024/05/18 21:51:00.860 +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-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:00.860 +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-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx((a+b));"] [2024/05/18 21:51:00.865 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.866 +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-18 21:51:00.858 +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\":\"_V$_idx_0\",\"L\":\"_v$_idx_0\"},\"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/18 21:51:00.866 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:00.868 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=397.874µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:00.869 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/18 21:51:00.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=53] ["take time"=2.586408ms] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.876 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=106] [conn=6] [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-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.879 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=272.844µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:00.880 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/18 21:51:00.886 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=7.51881ms] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.893 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=106] [conn=6] [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-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.898 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=542.019µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:00.899 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/18 21:51:00.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=55] ["take time"=2.019779ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.906 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=106] [conn=6] [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-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.907 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=false] [index=idx] [2024/05/18 21:51:00.907 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/18 21:51:00.911 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/18 21:51:00.917 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=106] [conn=6] [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-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207902404608, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.918 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=false] [index=idx] [2024/05/18 21:51:00.919 +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-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207902404608, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/18 21:51:00.920 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/18 21:51:00.920 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/18 21:51:00.921 +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/18 21:51:00.921 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=106] [2024/05/18 21:51:00.921 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=106] [2024/05/18 21:51:00.921 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=106] [2024/05/18 21:51:00.921 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp add index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f72800000000000000100] ["take time"=472.268µs] [2024/05/18 21:51:00.921 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=106] [2024/05/18 21:51:00.921 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/18 21:51:00.921 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:00.958 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=305.994µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:00.959 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/18 21:51:00.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=56] ["take time"=2.14451ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:6, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207902404608, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.967 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207902404608, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.968 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=106] [table=t] [index=idx] [2024/05/18 21:51:00.970 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=298.235µs] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:00.972 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57] [2024/05/18 21:51:00.975 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=4.473584ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:6, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.983 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.984 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff] [2024/05/18 21:51:00.987 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/18 21:51:00.992 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207922589697, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:00.994 +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:1, ArgLen:6, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207922589697, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000685f69ffff000000000001,EndKey:7480000000000000685f69ffff000000000001ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/18 21:51:00.995 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000001] ["end key"=7480000000000000685f69ffff000000000001ff] [2024/05/18 21:51:00.996 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff] [2024/05/18 21:51:00.996 +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/18 21:51:00.996 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=106] [2024/05/18 21:51:00.996 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, 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"=97.724µs] [2024/05/18 21:51:00.996 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=106] [2024/05/18 21:51:00.996 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=106] [2024/05/18 21:51:00.996 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=106] [2024/05/18 21:51:00.996 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000685f69ffff000000000001] [2024/05/18 21:51:00.996 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:01.034 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:01.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=301.497µs] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.038 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58] [2024/05/18 21:51:01.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=58] ["take time"=2.072666ms] [job="ID:106, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:3, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207922589697, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.050 +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/18 21:51:01.052 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="add index"] [2024/05/18 21:51:01.052 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=106] [conn=6] [job="ID:106, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:3, start time: 2024-05-18 21:51:00.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207922589697, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.058 +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/18 21:51:01.059 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/18 21:51:01.059 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.061 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=58] [cur_db=test] [sql="alter table t add index idx_multi((a+b),(a+1), b);"] [user=] [2024/05/18 21:51:01.064 +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-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:01.064 +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-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_multi((a+b),(a+1), b);"] [2024/05/18 21:51:01.071 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.072 +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-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx_multi\",\"L\":\"idx_multi\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"_V$_idx_multi_0\",\"L\":\"_v$_idx_multi_0\"},\"offset\":3,\"length\":-1},{\"name\":{\"O\":\"_V$_idx_multi_1\",\"L\":\"_v$_idx_multi_1\"},\"offset\":4,\"length\":-1},{\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/18 21:51:01.072 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:01.075 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=377.132µs] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.076 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=59] [2024/05/18 21:51:01.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=59] ["take time"=2.095149ms] [job="ID:107, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.084 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=107] [conn=6] [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-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.086 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=278.877µs] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.087 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=60] [2024/05/18 21:51:01.088 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.633284ms] [job="ID:107, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.095 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=107] [conn=6] [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-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.097 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=317.647µs] [gotSchemaVersion=61] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.098 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=61] [2024/05/18 21:51: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=61] ["take time"=2.689453ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.106 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=107] [conn=6] [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-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.106 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t] ["ingest mode"=false] [index=idx_multi] [2024/05/18 21:51:01.107 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/18 21:51:01.112 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/18 21:51:01.125 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=107] [conn=6] [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-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207954833408, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.125 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t] ["ingest mode"=false] [index=idx_multi] [2024/05/18 21:51:01.127 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207954833408, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/18 21:51:01.128 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/18 21:51:01.128 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/18 21:51:01.128 +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/18 21:51:01.129 +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: 107"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f72800000000000000100] ["take time"=378.483µs] [2024/05/18 21:51:01.129 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=107] [2024/05/18 21:51:01.129 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=107] [2024/05/18 21:51:01.129 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=107] [2024/05/18 21:51:01.129 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=107] [2024/05/18 21:51:01.129 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/18 21:51:01.129 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:01.160 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=361.302µs] [gotSchemaVersion=62] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.162 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=62] [2024/05/18 21:51:01.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=62] ["take time"=3.543817ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:6, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207954833408, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.171 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207954833408, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.172 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=107] [table=t] [index=idx_multi] [2024/05/18 21:51:01.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=384.626µs] [gotSchemaVersion=63] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.175 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=63] [2024/05/18 21:51:01.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=63] ["take time"=2.043241ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:6, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.182 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.183 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000002ff] [2024/05/18 21:51:01.186 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/18 21:51:01.192 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207974756352, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.194 +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:1, ArgLen:6, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207974756352, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000685f69ffff000000000002,EndKey:7480000000000000685f69ffff000000000002ff,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/18 21:51:01.195 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000002] ["end key"=7480000000000000685f69ffff000000000002ff] [2024/05/18 21:51:01.195 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000002ff] [2024/05/18 21:51:01.195 +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/18 21:51:01.195 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=107] [2024/05/18 21:51:01.195 +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: [7480000000000000685f69ffff000000000002, 7480000000000000685f69ffff00000000000200), jobID: 107"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000020000] ["take time"=99.127µs] [2024/05/18 21:51:01.195 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=107] [2024/05/18 21:51:01.195 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=107] [2024/05/18 21:51:01.195 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=107] [2024/05/18 21:51:01.195 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000685f69ffff000000000002] [2024/05/18 21:51:01.195 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:01.227 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:01.229 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=451.006µs] [gotSchemaVersion=64] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.231 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=64] [2024/05/18 21:51:01.233 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=4.521065ms] [job="ID:107, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:3, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207974756352, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.242 +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/18 21:51:01.243 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="add index"] [2024/05/18 21:51:01.243 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=107] [conn=6] [job="ID:107, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:3, start time: 2024-05-18 21:51:01.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857207974756352, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.246 +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/18 21:51:01.250 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:51:01.250 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.251 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=64] [cur_db=test] [sql="alter table t drop index idx;"] [user=] [2024/05/18 21:51:01.254 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.254 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:108, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop index idx;"] [2024/05/18 21:51:01.261 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.264 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=340.913µs] [gotSchemaVersion=65] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.265 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=65] [2024/05/18 21:51:01.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=65] ["take time"=3.627246ms] [job="ID:108, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.274 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.278 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=372.184µs] [gotSchemaVersion=66] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.280 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=66] [2024/05/18 21:51:01.282 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=4.004426ms] [job="ID:108, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.287 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.293 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=635.571µs] [gotSchemaVersion=67] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.294 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=67] [2024/05/18 21:51:01.296 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=4.490348ms] [job="ID:108, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.302 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.305 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=334.039µs] [gotSchemaVersion=68] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.306 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=68] [2024/05/18 21:51:01.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=68] ["take time"=7.510735ms] [job="ID:108, Type:drop index, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.317 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=108] [tableID=104] [indexIDs="[1]"] [comment="drop index: table ID"] [2024/05/18 21:51:01.318 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="drop index"] [2024/05/18 21:51:01.318 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=6] [job="ID:108, Type:drop index, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:01.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.322 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=108] [elementID=1] [startKey=7480000000000000685f698000000000000001] [endKey=7480000000000000685f698000000000000002] [2024/05/18 21:51:01.324 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/18 21:51:01.324 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.325 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=68] [cur_db=test] [sql="alter table t drop index idx_multi;"] [user=] [2024/05/18 21:51:01.327 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.327 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop index idx_multi;"] [2024/05/18 21:51:01.331 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.334 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=329.037µs] [gotSchemaVersion=69] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.335 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=69] [2024/05/18 21:51:01.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=69] ["take time"=2.02359ms] [job="ID:109, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.340 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.343 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=378.937µs] [gotSchemaVersion=70] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.344 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=70] [2024/05/18 21:51:01.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=70] ["take time"=2.270282ms] [job="ID:109, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.351 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.353 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=340.195µs] [gotSchemaVersion=71] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.355 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=71] [2024/05/18 21:51:01.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=71] ["take time"=3.747381ms] [job="ID:109, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.362 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.364 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=217.99µs] [gotSchemaVersion=72] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:01.365 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=72] [2024/05/18 21:51:01.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=72] ["take time"=2.235954ms] [job="ID:109, Type:drop index, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.371 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=109] [tableID=104] [indexIDs="[2]"] [comment="drop index: table ID"] [2024/05/18 21:51:01.372 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="drop index"] [2024/05/18 21:51:01.372 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=6] [job="ID:109, Type:drop index, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:01.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.376 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=109] [elementID=1] [startKey=7480000000000000685f698000000000000002] [endKey=7480000000000000685f698000000000000003] [2024/05/18 21:51:01.378 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/18 21:51:01.378 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.379 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=72] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/18 21:51:01.379 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=72] [cur_db=test] [sql="create table t1(a int, b int, primary key(a, b) clustered)"] [user=] [2024/05/18 21:51:01.382 +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-18 21:51:01.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.382 +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-18 21:51:01.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a int, b int, primary key(a, b) clustered)"] [2024/05/18 21:51:01.390 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=111] [conn=6] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.393 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=229.278µs] [gotSchemaVersion=73] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:01.394 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=73] [2024/05/18 21:51: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=73] ["take time"=2.899778ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.399 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=111] [conn=6] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.403 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/18 21:51:01.403 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.403 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=73] [cur_db=test] [sql="alter table t1 add index idx((a+1))"] [user=] [2024/05/18 21:51:01.406 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:01.406 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:112, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 add index idx((a+1))"] [2024/05/18 21:51:01.411 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.411 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +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\":\"_V$_idx_0\",\"L\":\"_v$_idx_0\"},\"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/18 21:51:01.411 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:01.414 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=339.992µs] [gotSchemaVersion=74] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.415 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=74] [2024/05/18 21:51: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=74] ["take time"=2.014952ms] [job="ID:112, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.422 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.425 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=309.268µs] [gotSchemaVersion=75] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.426 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=75] [2024/05/18 21:51:01.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=75] ["take time"=2.995908ms] [job="ID:112, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.434 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.437 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=322.291µs] [gotSchemaVersion=76] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.438 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=76] [2024/05/18 21:51:01.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=76] ["take time"=2.909621ms] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.445 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.445 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=112] [table=t1] ["ingest mode"=false] [index=idx] [2024/05/18 21:51:01.446 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{110 t1 utf8mb4 utf8mb4_bin [0xc02eb409a0 0xc02eb40b00 0xc02eb40c60] [0xc02eb39ef0 0xc02f112240] [] [] public false true 1 0 0 0 0 3 2 0 0 449857208040554496 0 0 0 0 0 0 5 false disable 3 2}"] ["table/partition ID"=110] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:51:01.446 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=112] [physicalTableID=110] [startKey=] [endKey=] [2024/05/18 21:51:01.448 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=112] [2024/05/18 21:51:01.454 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208043438081, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.454 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=112] [table=t1] ["ingest mode"=false] [index=idx] [2024/05/18 21:51:01.456 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208043438081, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:,EndKey:,First:false,PhysicalTableID:110,Ingest mode:false"] [2024/05/18 21:51:01.457 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=110] ["start key"=] ["end key"=] [2024/05/18 21:51:01.457 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=110] [2024/05/18 21:51:01.457 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=112] [2024/05/18 21:51:01.457 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=112] [2024/05/18 21:51:01.457 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=112] [2024/05/18 21:51:01.457 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=112] [2024/05/18 21:51:01.457 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:51:01.457 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:01.459 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=294.898µs] [gotSchemaVersion=77] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.460 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=77] [2024/05/18 21:51:01.462 +00:00] [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"=3.019957ms] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208043438081, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.467 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208043438081, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.467 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=112] [table=t1] [index=idx] [2024/05/18 21:51:01.469 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=292.781µs] [gotSchemaVersion=78] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.471 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=78] [2024/05/18 21:51:01.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=78] ["take time"=3.086422ms] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.478 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.479 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=112] [physicalTableID=110] [startKey=74800000000000006e5f69ffff000000000002] [endKey=74800000000000006e5f69ffff000000000002ff] [2024/05/18 21:51:01.482 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=112] [2024/05/18 21:51:01.499 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=112] [conn=6] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208052350976, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.501 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:112, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208052350976, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000006e5f69ffff000000000002,EndKey:74800000000000006e5f69ffff000000000002ff,First:false,PhysicalTableID:110,Ingest mode:false"] [2024/05/18 21:51:01.502 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=110] ["start key"=74800000000000006e5f69ffff000000000002] ["end key"=74800000000000006e5f69ffff000000000002ff] [2024/05/18 21:51:01.502 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006e5f69ffff000000000002] [endKey=74800000000000006e5f69ffff000000000002ff] [2024/05/18 21:51:01.503 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=110] ["end key"=74800000000000006e5f69ffff000000000002ff] ["current end key"=74800000000000006e5f69ffff00000000000200] [2024/05/18 21:51:01.503 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=112] [2024/05/18 21:51:01.503 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=112] [2024/05/18 21:51:01.503 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=112] [2024/05/18 21:51:01.503 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 110, range: [74800000000000006e5f69ffff000000000002, 74800000000000006e5f69ffff00000000000200), jobID: 112"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006e5f69ffff0000000000020000] ["take time"=187.5µs] [2024/05/18 21:51:01.503 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=112] [2024/05/18 21:51:01.503 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=74800000000000006e5f69ffff000000000002] [2024/05/18 21:51:01.503 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:01.504 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:01.506 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=369.606µs] [gotSchemaVersion=79] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.508 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=112] [version=79] [2024/05/18 21:51:01.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=8.139987ms] [job="ID:112, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208052350976, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.521 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=112] [tableID=110] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:51:01.522 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=112] [jobType="add index"] [2024/05/18 21:51:01.523 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=112] [conn=6] [job="ID:112, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.405 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208052350976, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.525 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=112] [elementID=1] [startKey=74800000000000006e5f69ffff000000000002] [endKey=74800000000000006e5f69ffff000000000003] [2024/05/18 21:51:01.528 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/18 21:51:01.529 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.529 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=79] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/18 21:51:01.531 +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:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.531 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/18 21:51:01.540 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=6] [category=ddl] [job="ID:113, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.543 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=75.381µs] [gotSchemaVersion=80] [phyTblIDs="[110]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.544 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=80] [2024/05/18 21:51:01.545 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=2.299166ms] [job="ID:113, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.549 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=6] [category=ddl] [job="ID:113, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.551 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=43.114µs] [gotSchemaVersion=81] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.552 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=81] [2024/05/18 21:51:01.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=2.653969ms] [job="ID:113, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.559 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=6] [category=ddl] [job="ID:113, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.561 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=43.432µs] [gotSchemaVersion=82] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.562 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=82] [2024/05/18 21:51:01.564 +00:00] [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"=2.81893ms] [job="ID:113, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.573 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=113] [tableIDs="[110]"] [comment="drop table: table ID"] [2024/05/18 21:51:01.574 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=113] [jobType="drop table"] [2024/05/18 21:51:01.574 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=6] [job="ID:113, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.53 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.578 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=113] [elementID=1] [startKey=74800000000000006e] [endKey=74800000000000006f] [2024/05/18 21:51:01.579 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/18 21:51:01.580 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.580 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=82] [cur_db=test] [sql="create table t1 (a varchar(10), b varchar(10));"] [user=] [2024/05/18 21:51:01.584 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.584 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (a varchar(10), b varchar(10));"] [2024/05/18 21:51:01.591 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.594 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=209.054µs] [gotSchemaVersion=83] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:01.595 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=83] [2024/05/18 21:51:01.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=83] ["take time"=2.032679ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:114, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.602 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=115] [conn=6] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.583 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.607 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/18 21:51:01.607 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.607 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=83] [cur_db=test] [sql="alter table t1 add unique index ei_ab ((concat(a, b)));"] [user=] [2024/05/18 21:51:01.610 +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:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:01.610 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 add unique index ei_ab ((concat(a, b)));"] [2024/05/18 21:51:01.618 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.618 +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:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"ei_ab\",\"L\":\"ei_ab\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"_V$_ei_ab_0\",\"L\":\"_v$_ei_ab_0\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/18 21:51:01.618 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:01.621 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=268.075µs] [gotSchemaVersion=84] [phyTblIDs="[114]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.622 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=84] [2024/05/18 21:51:01.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=84] ["take time"=2.814594ms] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.630 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.633 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=280.148µs] [gotSchemaVersion=85] [phyTblIDs="[114]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.634 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=85] [2024/05/18 21:51:01.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=85] ["take time"=12.508336ms] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.653 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.661 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=301.558µs] [gotSchemaVersion=86] [phyTblIDs="[114]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.663 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=86] [2024/05/18 21:51:01.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=86] ["take time"=5.396495ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.677 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 40, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.678 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t1] ["ingest mode"=false] [index=ei_ab] [2024/05/18 21:51:01.678 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{114 t1 utf8mb4 utf8mb4_bin [0xc031ee8000 0xc031ee8160 0xc031ee82c0] [0xc031ee46c0] [] [] public false false 0 0 0 0 0 3 1 0 0 449857208097964032 0 0 0 0 0 0 5 false disable 3 2}"] ["table/partition ID"=114] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:51:01.678 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=114] [startKey=] [endKey=] [2024/05/18 21:51:01.682 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/18 21:51:01.688 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208104517632, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.688 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t1] ["ingest mode"=false] [index=ei_ab] [2024/05/18 21:51:01.690 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208104517632, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:,EndKey:,First:false,PhysicalTableID:114,Ingest mode:false"] [2024/05/18 21:51:01.691 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=114] ["start key"=] ["end key"=] [2024/05/18 21:51:01.691 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=114] [2024/05/18 21:51:01.691 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=116] [2024/05/18 21:51:01.691 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=116] [2024/05/18 21:51:01.691 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=116] [2024/05/18 21:51:01.691 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=116] [2024/05/18 21:51:01.691 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:51:01.691 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:01.702 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=308.286µs] [gotSchemaVersion=87] [phyTblIDs="[114]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.703 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=87] [2024/05/18 21:51:01.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=87] ["take time"=3.521802ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208104517632, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.712 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208104517632, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.712 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=116] [table=t1] [index=ei_ab] [2024/05/18 21:51:01.719 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=310.256µs] [gotSchemaVersion=88] [phyTblIDs="[114]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.720 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=88] [2024/05/18 21:51:01.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=88] ["take time"=2.688031ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.729 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 39, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.730 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=114] [startKey=7480000000000000725f69ffff000000000001] [endKey=7480000000000000725f69ffff000000000001ff] [2024/05/18 21:51:01.733 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/18 21:51:01.739 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 37, tp add index"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208118149121, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.741 +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:114, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208118149121, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000725f69ffff000000000001,EndKey:7480000000000000725f69ffff000000000001ff,First:false,PhysicalTableID:114,Ingest mode:false"] [2024/05/18 21:51:01.742 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=114] ["start key"=7480000000000000725f69ffff000000000001] ["end key"=7480000000000000725f69ffff000000000001ff] [2024/05/18 21:51:01.742 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000725f69ffff000000000001] [endKey=7480000000000000725f69ffff000000000001ff] [2024/05/18 21:51:01.743 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=114] ["end key"=7480000000000000725f69ffff000000000001ff] ["current end key"=7480000000000000725f69ffff00000000000100] [2024/05/18 21:51:01.743 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:01.743 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 114, range: [7480000000000000725f69ffff000000000001, 7480000000000000725f69ffff00000000000100), jobID: 116"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000725f69ffff0000000000010000] ["take time"=111.726µs] [2024/05/18 21:51:01.743 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:01.743 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:01.743 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:01.743 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=7480000000000000725f69ffff000000000001] [2024/05/18 21:51:01.743 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:01.743 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:01.745 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=301.935µs] [gotSchemaVersion=89] [phyTblIDs="[114]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:01.747 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=89] [2024/05/18 21:51:01.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=89] ["take time"=2.393846ms] [job="ID:116, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:114, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208118149121, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.755 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=116] [tableID=114] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:51:01.758 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="add index"] [2024/05/18 21:51:01.758 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 38, tp add index"] [category=ddl] [jobID=116] [conn=6] [job="ID:116, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:114, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857208118149121, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:01.767 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=7480000000000000725f69ffff000000000001] [endKey=7480000000000000725f69ffff000000000002] [2024/05/18 21:51:01.779 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/18 21:51:01.779 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/18 21:51:01.779 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/18 21:51:01.779 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:01.785 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/18 21:51:01.785 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.786 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=89] [cur_db=test] [sql="alter table t1 alter index ei_ab invisible;"] [user=] [2024/05/18 21:51:01.788 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.788 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 alter index ei_ab invisible;"] [2024/05/18 21:51:01.793 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=6] [category=ddl] [job="ID:117, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.796 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=309.289µs] [gotSchemaVersion=90] [phyTblIDs="[114]"] [actionTypes="[41]"] [diffTypes="[\"alter index visibility\"]"] [2024/05/18 21:51:01.797 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=90] [2024/05/18 21:51:01.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=90] ["take time"=2.711926ms] [job="ID:117, Type:alter index visibility, State:done, SchemaState:public, SchemaID:2, TableID:114, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.805 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:alter index visibility, State:synced, SchemaState:public, SchemaID:2, TableID:114, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.807 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/18 21:51:01.808 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/18 21:51:01.812 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/18 21:51:01.813 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.813 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=90] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/18 21:51:01.815 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/18 21:51:01.815 +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:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.815 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/18 21:51:01.816 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/18 21:51:01.816 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/18 21:51:01.816 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/18 21:51:01.816 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/18 21:51:01.826 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=118] [conn=6] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.828 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=44.889µs] [gotSchemaVersion=91] [phyTblIDs="[104]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.829 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=91] [2024/05/18 21:51:01.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=91] ["take time"=2.328639ms] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.837 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=118] [conn=6] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.839 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=39.192µs] [gotSchemaVersion=92] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.840 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=92] [2024/05/18 21:51:01.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=92] ["take time"=6.732627ms] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.851 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=118] [conn=6] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.854 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=36.802µs] [gotSchemaVersion=93] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.855 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=93] [2024/05/18 21:51:01.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=93] ["take time"=2.674771ms] [job="ID:118, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.861 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=118] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/18 21:51:01.862 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop table"] [2024/05/18 21:51:01.862 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=118] [conn=6] [job="ID:118, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.866 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/18 21:51:01.868 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/18 21:51:01.868 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.868 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=93] [cur_db=test] [sql="create table t(a int, key((a+1)), key((a+2)), key idx((a+3)), key((a+4)));"] [user=] [2024/05/18 21:51:01.871 +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-18 21:51:01.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.871 +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-18 21:51:01.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, key((a+1)), key((a+2)), key idx((a+3)), key((a+4)));"] [2024/05/18 21:51:01.877 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.882 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=435.736µs] [gotSchemaVersion=94] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:01.883 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=94] [2024/05/18 21:51:01.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=94] ["take time"=2.418647ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.889 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=120] [conn=6] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.891 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/18 21:51:01.891 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.892 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=94] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/18 21:51:01.893 +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:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.893 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/18 21:51:01.902 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.905 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=33.113µs] [gotSchemaVersion=95] [phyTblIDs="[119]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.906 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=95] [2024/05/18 21:51:01.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=95] ["take time"=2.75852ms] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.913 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.915 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=38.293µs] [gotSchemaVersion=96] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.916 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=96] [2024/05/18 21:51:01.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=96] ["take time"=2.03665ms] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.921 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=33.179µs] [gotSchemaVersion=97] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.925 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=97] [2024/05/18 21:51:01.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=97] ["take time"=2.457355ms] [job="ID:121, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.934 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=121] [tableIDs="[119]"] [comment="drop table: table ID"] [2024/05/18 21:51:01.935 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="drop table"] [2024/05/18 21:51:01.935 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.938 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=748000000000000077] [endKey=748000000000000078] [2024/05/18 21:51:01.940 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/18 21:51:01.940 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.941 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=97] [cur_db=test] [sql="CREATE TABLE t (A INT, B INT, UNIQUE KEY ((A * 2)));"] [user=] [2024/05/18 21:51:01.944 +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:2, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.944 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t (A INT, B INT, UNIQUE KEY ((A * 2)));"] [2024/05/18 21:51:01.949 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=123] [conn=6] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.952 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=280.589µs] [gotSchemaVersion=98] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:01.953 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=98] [2024/05/18 21:51:01.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=98] ["take time"=9.829012ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.967 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.970 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/18 21:51:01.970 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:01.970 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=98] [cur_db=test] [sql="create index d on t((repeat(a, 2)))"] [user=] [2024/05/18 21:51:01.970 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:51:01.970 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=98] [error="[ddl:8200]Unsupported creating expression index containing unsafe functions without allow-expression-index in config"] [errorVerbose="[ddl:8200]Unsupported creating expression index containing unsafe functions without allow-expression-index in config\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.precheckBuildHiddenColumnInfo\n\tpkg/ddl/ddl_api.go:7491\ngithub.com/pingcap/tidb/pkg/ddl.buildHiddenColumnInfoWithCheck\n\tpkg/ddl/ddl_api.go:7498\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7659\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7586\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:320\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:154\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go: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.TestAddExpressionIndex\n\tpkg/ddl/db_integration_test.go:1949\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:51:01.971 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=98] [cur_db=test] [sql="create table t(a char(10), key ((repeat(a, 2))));"] [user=] [2024/05/18 21:51:01.971 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:51:01.971 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=98] [error="[ddl:8200]Unsupported creating expression index containing unsafe functions without allow-expression-index in config"] [errorVerbose="[ddl:8200]Unsupported creating expression index containing unsafe functions without allow-expression-index in config\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.precheckBuildHiddenColumnInfo\n\tpkg/ddl/ddl_api.go:7491\ngithub.com/pingcap/tidb/pkg/ddl.buildHiddenColumnInfoWithCheck\n\tpkg/ddl/ddl_api.go:7498\ngithub.com/pingcap/tidb/pkg/ddl.BuildTableInfo\n\tpkg/ddl/ddl_api.go:2118\ngithub.com/pingcap/tidb/pkg/ddl.BuildTableInfoWithStmt\n\tpkg/ddl/ddl_api.go:2620\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2701\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).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.TestAddExpressionIndex\n\tpkg/ddl/db_integration_test.go:1950\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:51:01.971 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=98] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/18 21:51:01.974 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:01.974 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:124, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/18 21:51:01.979 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=6] [category=ddl] [job="ID:124, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.981 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=45.86µs] [gotSchemaVersion=99] [phyTblIDs="[122]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.982 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=99] [2024/05/18 21:51:01.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=99] ["take time"=2.756407ms] [job="ID:124, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.991 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=6] [category=ddl] [job="ID:124, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:01.993 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=47.087µs] [gotSchemaVersion=100] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:01.994 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=100] [2024/05/18 21:51:01.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=100] ["take time"=2.764286ms] [job="ID:124, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.002 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=6] [category=ddl] [job="ID:124, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.005 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=38.244µs] [gotSchemaVersion=101] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:02.006 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=124] [version=101] [2024/05/18 21:51:02.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=101] ["take time"=6.88258ms] [job="ID:124, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:122, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.016 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[122]"] [comment="drop table: table ID"] [2024/05/18 21:51:02.018 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop table"] [2024/05/18 21:51:02.018 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:122, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:01.972 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.020 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=74800000000000007a] [endKey=74800000000000007b] [2024/05/18 21:51:02.023 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/18 21:51:02.023 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.024 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=101] [cur_db=test] [sql="create table t(a char(10), key ((lower(a))))"] [user=] [2024/05/18 21:51:02.026 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.026 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:126, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a char(10), key ((lower(a))))"] [2024/05/18 21:51:02.033 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=126] [conn=6] [category=ddl] [job="ID:126, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:02.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=297.834µs] [gotSchemaVersion=102] [phyTblIDs="[125]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.038 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=126] [version=102] [2024/05/18 21:51: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=102] ["take time"=3.333135ms] [job="ID:126, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.046 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=126] [conn=6] [job="ID:126, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:02.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.050 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=126] [2024/05/18 21:51:02.050 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.052 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=342f68da-d227-4fa6-bbd8-35fee6c554e0] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=2.839µs] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=1.202µs] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=1.351µs] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=1.168µs] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=992ns] [2024/05/18 21:51:02.052 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:02.052 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:02.052 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:02.058 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=342f68da-d227-4fa6-bbd8-35fee6c554e0] ["take time"=7.188329ms] [2024/05/18 21:51:02.058 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=342f68da-d227-4fa6-bbd8-35fee6c554e0] [2024/05/18 21:51:02.058 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:51:02.058 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/18 21:51:02.058 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:02.058 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:02.058 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:02.058 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:02.058 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:02.058 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:02.058 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:02.058 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:02.058 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:02.058 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:02.059 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:51:02.059 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:51:02.059 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:02.059 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:51:02.059 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:02.059 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:51:02.059 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:51:02.059 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:02.059 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=342f68da-d227-4fa6-bbd8-35fee6c554e0] [2024/05/18 21:51:02.059 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:02.059 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/18 21:51:02.059 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/18 21:51:02.060 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:02.060 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=342f68da-d227-4fa6-bbd8-35fee6c554e0] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=342f68da-d227-4fa6-bbd8-35fee6c554e0] [ownerKey=/tidb/stats/owner] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:02.060 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:02.060 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:02.060 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:02.059 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:51:02.060 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=342f68da-d227-4fa6-bbd8-35fee6c554e0] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:51:02.060 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:02.060 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=9.607576ms] [2024/05/18 21:51:02.061 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:51:02.061 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:51:02.061 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:51:02.061 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:51:02.061 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:51:02.061 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddExpressionIndex (2.99s) === RUN TestIssue22307 [2024/05/18 21:51:02.067 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:51:02.068 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:02.068 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:02.068 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:02.068 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:02.069 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:02.071 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=252820f7-85bd-42ab-9a56-cb653aee7b41] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/18 21:51:02.078 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:02.078 +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/18 21:51:02.078 +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.TestIssue22307\n\tpkg/ddl/db_test.go:136\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:51:02.081 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.173065ms] [2024/05/18 21:51:02.082 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:02.082 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=2d1301f7-09ab-47a7-9ba9-57a3e1189474] [runWorker=true] [2024/05/18 21:51:02.082 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:02.082 +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/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:02.082 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:02.082 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:02.082 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:02.083 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:02.083 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:02.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:02.083 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:02.083 +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/18 21:51:02.086 +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-18 21:51:02.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.086 +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-18 21:51:02.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:51:02.134 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:02.134 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:02.140 +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-18 21:51:02.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.145 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.320058ms] [2024/05/18 21:51:02.145 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:02.147 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.147 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:51:02.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=1] ["take time"=6.014746ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:02.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.155 +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-18 21:51:02.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.159 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:51:02.159 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.159 +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/18 21:51:02.160 +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/18 21:51:02.166 +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-18 21:51:02.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.166 +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-18 21:51:02.162 +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/18 21:51:02.173 +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-18 21:51:02.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.181 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.125752ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.183 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.183 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:51:02.189 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=8.547016ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.196 +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-18 21:51:02.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.203 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:51:02.203 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.204 +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/18 21:51:02.207 +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-18 21:51:02.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.207 +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-18 21:51:02.205 +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/18 21:51:02.213 +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-18 21:51:02.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.216 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=264.193µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.217 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.217 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:51:02.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=3] ["take time"=2.280955ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.224 +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-18 21:51:02.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.228 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:51:02.228 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.228 +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/18 21:51:02.231 +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-18 21:51:02.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.231 +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-18 21:51:02.23 +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/18 21:51:02.240 +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-18 21:51:02.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.244 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=214.906µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.245 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.245 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:51:02.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=4] ["take time"=2.023406ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.256 +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-18 21:51:02.23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.262 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:51:02.262 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.262 +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/18 21:51:02.266 +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-18 21:51:02.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.266 +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-18 21:51:02.264 +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/18 21:51:02.273 +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-18 21:51:02.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.280 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=612.893µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.281 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.281 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:51:02.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=5] ["take time"=4.142868ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.292 +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-18 21:51:02.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.297 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:51:02.297 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.297 +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/18 21:51:02.300 +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-18 21:51:02.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.300 +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-18 21:51:02.298 +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/18 21:51:02.306 +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-18 21:51:02.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.310 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=365.928µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.311 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.311 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:51:02.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=6] ["take time"=2.613926ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.319 +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-18 21:51:02.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.323 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:51:02.323 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.323 +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/18 21:51:02.329 +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-18 21:51:02.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.329 +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-18 21:51:02.327 +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/18 21:51:02.335 +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-18 21:51:02.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.338 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=304.562µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.339 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.339 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:51:02.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=7] ["take time"=4.52151ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.347 +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-18 21:51:02.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.350 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:51:02.350 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.351 +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/18 21:51:02.356 +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-18 21:51:02.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.356 +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-18 21:51:02.352 +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/18 21:51:02.361 +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-18 21:51:02.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.364 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=233.84µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.365 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.365 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:51:02.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=8] ["take time"=21.697961ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.391 +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-18 21:51:02.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.397 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:51:02.397 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.399 +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/18 21:51:02.403 +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-18 21:51:02.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.403 +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-18 21:51:02.402 +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/18 21:51:02.411 +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-18 21:51:02.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.415 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=230.122µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.416 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.416 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:51:02.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=9] ["take time"=2.557936ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.422 +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-18 21:51:02.402 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.425 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:51:02.425 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.426 +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/18 21:51:02.432 +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-18 21:51:02.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.432 +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-18 21:51:02.428 +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/18 21:51:02.440 +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-18 21:51:02.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.446 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=317.282µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.447 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.447 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:51:02.448 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.654912ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.453 +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-18 21:51:02.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.457 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:51:02.457 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.457 +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/18 21:51:02.462 +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-18 21:51:02.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.463 +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-18 21:51:02.461 +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/18 21:51:02.471 +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-18 21:51:02.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.474 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=230.023µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.475 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.475 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:51:02.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=3.072423ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.486 +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-18 21:51:02.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.489 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:51:02.489 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.490 +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/18 21:51:02.490 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:02.493 +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-18 21:51:02.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.493 +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-18 21:51:02.491 +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/18 21:51:02.501 +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-18 21:51:02.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.504 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=432.667µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.505 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.505 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:51:02.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=12] ["take time"=2.023922ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.513 +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-18 21:51:02.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.518 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:51:02.518 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.518 +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/18 21:51:02.521 +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-18 21:51:02.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.521 +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-18 21:51:02.52 +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/18 21:51:02.528 +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-18 21:51:02.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.531 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=264.711µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.532 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.532 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:51:02.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.410307ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.538 +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-18 21:51:02.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.543 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:51:02.543 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.543 +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/18 21:51:02.547 +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-18 21:51:02.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.547 +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-18 21:51:02.545 +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/18 21:51:02.557 +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-18 21:51:02.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.561 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=302.533µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.562 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.562 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:51:02.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=14] ["take time"=2.270486ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.568 +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-18 21:51:02.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.572 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:51:02.572 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.572 +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/18 21:51:02.577 +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-18 21:51:02.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.577 +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-18 21:51:02.574 +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/18 21:51:02.587 +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-18 21:51:02.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.591 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=308.13µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.593 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.593 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:51:02.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.862255ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.600 +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-18 21:51:02.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.606 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:51:02.606 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.607 +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/18 21:51:02.610 +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-18 21:51:02.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.610 +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-18 21:51:02.608 +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/18 21:51:02.616 +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-18 21:51:02.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.619 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=268.723µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.620 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.621 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:51:02.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=16] ["take time"=2.161209ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.627 +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-18 21:51:02.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.633 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:51:02.633 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.634 +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/18 21:51:02.637 +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-18 21:51:02.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.637 +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-18 21:51:02.636 +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/18 21:51:02.646 +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-18 21:51:02.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.649 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=281.032µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.650 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.650 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:51:02.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=17] ["take time"=2.064261ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.661 +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-18 21:51:02.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.665 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:51:02.666 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.666 +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/18 21:51:02.671 +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-18 21:51:02.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.671 +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-18 21:51:02.668 +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/18 21:51:02.679 +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-18 21:51:02.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.682 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=322.76µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.683 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.684 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:51:02.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=18] ["take time"=2.357659ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.694 +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-18 21:51:02.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.707 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:51:02.707 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.708 +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/18 21:51:02.712 +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-18 21:51:02.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.712 +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-18 21:51:02.709 +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/18 21:51:02.726 +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-18 21:51:02.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.731 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=506.771µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.732 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.732 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:51:02.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=19] ["take time"=3.019633ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.744 +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-18 21:51:02.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.748 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:51:02.748 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.749 +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/18 21:51:02.752 +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-18 21:51:02.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.752 +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-18 21:51:02.751 +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/18 21:51:02.760 +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-18 21:51:02.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.764 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=290.153µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.765 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.765 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:51:02.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=20] ["take time"=2.605139ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.772 +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-18 21:51:02.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.775 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:51:02.775 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.775 +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/18 21:51:02.780 +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-18 21:51:02.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.780 +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-18 21:51:02.777 +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/18 21:51:02.786 +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-18 21:51:02.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.788 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=183.381µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.789 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.789 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:51:02.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=21] ["take time"=2.722826ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.796 +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-18 21:51:02.777 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.799 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:51:02.799 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.800 +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/18 21:51:02.802 +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-18 21:51:02.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.802 +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-18 21:51:02.801 +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/18 21:51:02.809 +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-18 21:51:02.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.811 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=148.649µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.812 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.812 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:51:02.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=22] ["take time"=2.942891ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.818 +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-18 21:51:02.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.820 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:51:02.821 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.821 +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/18 21:51:02.824 +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-18 21:51:02.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.824 +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-18 21:51:02.822 +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/18 21:51:02.829 +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-18 21:51:02.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.833 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=330.355µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.834 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.834 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:51:02.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=23] ["take time"=3.463942ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.843 +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-18 21:51:02.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.847 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:51:02.847 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.847 +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/18 21:51:02.851 +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-18 21:51:02.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.851 +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-18 21:51:02.849 +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/18 21:51:02.857 +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-18 21:51:02.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.865 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=292.845µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.866 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.866 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:51:02.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=7.67532ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.878 +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-18 21:51:02.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.882 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:51:02.882 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.883 +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/18 21:51:02.889 +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-18 21:51:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.889 +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-18 21:51:02.888 +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/18 21:51:02.896 +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-18 21:51:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.899 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=272.227µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.900 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.900 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:51:02.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=25] ["take time"=2.53416ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.907 +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-18 21:51:02.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.910 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:51:02.910 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.911 +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/18 21:51:02.913 +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-18 21:51:02.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.913 +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-18 21:51:02.912 +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/18 21:51:02.923 +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-18 21:51:02.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.926 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=253.699µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.927 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.928 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:51:02.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=26] ["take time"=7.346919ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.940 +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-18 21:51:02.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.944 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:51:02.944 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.944 +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/18 21:51:02.947 +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-18 21:51:02.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.947 +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-18 21:51:02.946 +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/18 21:51:02.954 +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-18 21:51:02.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.958 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=363.691µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.959 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.959 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:51:02.959 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.012038ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.967 +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-18 21:51:02.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.970 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:51:02.970 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.970 +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/18 21:51:02.973 +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-18 21:51:02.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.973 +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-18 21:51:02.971 +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/18 21:51:02.979 +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-18 21:51:02.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.982 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=226.484µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:02.983 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:02.983 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:51:02.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=28] ["take time"=2.027287ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.993 +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-18 21:51:02.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:02.996 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:51:02.996 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:02.996 +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/18 21:51:02.997 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:02.999 +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-18 21:51:02.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:02.999 +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-18 21:51:02.998 +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/18 21:51:03.007 +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-18 21:51:02.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.011 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=333.072µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.012 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.012 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:51:03.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=29] ["take time"=2.417951ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:02.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.018 +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-18 21:51:02.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.022 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:51:03.022 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.022 +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/18 21:51:03.025 +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-18 21:51:03.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.025 +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-18 21:51:03.024 +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/18 21:51:03.032 +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-18 21:51:03.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.037 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=343.427µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.039 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.039 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:51:03.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=30] ["take time"=4.322291ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.048 +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-18 21:51:03.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.055 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:51:03.055 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.056 +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/18 21:51:03.060 +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-18 21:51:03.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.060 +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-18 21:51:03.058 +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/18 21:51:03.068 +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-18 21:51:03.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.072 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=275.341µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.073 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.073 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:51:03.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=31] ["take time"=13.200099ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.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/18 21:51:03.094 +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-18 21:51:03.058 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.101 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:51:03.101 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.102 +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/18 21:51:03.106 +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-18 21:51:03.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.106 +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-18 21:51:03.104 +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/18 21:51:03.113 +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-18 21:51:03.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.118 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=454.307µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.119 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.119 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:51:03.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=32] ["take time"=2.910717ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.126 +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-18 21:51:03.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.130 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:51:03.130 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.130 +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/18 21:51:03.133 +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-18 21:51:03.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.133 +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-18 21:51:03.132 +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/18 21:51:03.143 +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-18 21:51:03.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.146 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=187.086µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.147 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.147 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:51:03.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=33] ["take time"=2.650603ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.155 +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-18 21:51:03.132 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.160 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:51:03.160 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.164 +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-18 21:51:03.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.164 +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-18 21:51:03.162 +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/18 21:51:03.170 +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-18 21:51:03.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=237.161µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:03.175 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.175 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:51:03.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=34] ["take time"=2.568234ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.181 +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-18 21:51:03.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.184 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:51:03.184 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.185 +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/18 21:51:03.188 +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-18 21:51:03.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.188 +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-18 21:51:03.186 +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/18 21:51:03.197 +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-18 21:51:03.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.201 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=270.477µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.202 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.202 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:51:03.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=35] ["take time"=2.598668ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.207 +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-18 21:51:03.186 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.210 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:51:03.210 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.211 +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/18 21:51:03.213 +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-18 21:51:03.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.213 +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-18 21:51:03.212 +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/18 21:51:03.222 +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-18 21:51:03.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.225 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=266.815µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.226 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.226 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:51:03.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=36] ["take time"=2.516862ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.232 +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-18 21:51:03.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.235 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:51:03.235 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.235 +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/18 21:51:03.237 +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-18 21:51:03.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.237 +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-18 21:51:03.236 +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/18 21:51:03.247 +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-18 21:51:03.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.250 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=225.618µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.251 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.251 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:51:03.252 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.61704ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.256 +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-18 21:51:03.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.261 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:51:03.261 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.262 +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/18 21:51:03.265 +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-18 21:51:03.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.265 +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-18 21:51:03.263 +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/18 21:51:03.272 +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-18 21:51:03.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.277 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=487.864µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.278 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.278 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:51:03.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=38] ["take time"=3.195147ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.285 +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-18 21:51:03.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.289 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:51:03.289 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.289 +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/18 21:51:03.294 +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-18 21:51:03.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.294 +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-18 21:51:03.291 +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/18 21:51:03.301 +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-18 21:51:03.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.305 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=413.503µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.306 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.306 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:51:03.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=39] ["take time"=2.798155ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.312 +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-18 21:51:03.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.316 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:51:03.316 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.316 +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/18 21:51:03.320 +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-18 21:51:03.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.320 +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-18 21:51:03.318 +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/18 21:51:03.326 +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-18 21:51:03.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.330 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=468.661µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.331 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.331 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:51:03.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=40] ["take time"=2.726886ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.342 +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-18 21:51:03.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.347 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:51:03.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.348 +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/18 21:51:03.351 +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-18 21:51:03.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.351 +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-18 21:51:03.349 +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/18 21:51:03.357 +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-18 21:51:03.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.361 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=393.117µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.362 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.362 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:51:03.363 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.423473ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.368 +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-18 21:51:03.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.372 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:51:03.372 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.372 +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/18 21:51:03.376 +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-18 21:51:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.376 +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-18 21:51:03.374 +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/18 21:51:03.381 +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-18 21:51:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.386 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=507.916µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.387 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.387 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:51:03.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=42] ["take time"=2.435949ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.392 +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-18 21:51:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.397 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:51:03.398 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.398 +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/18 21:51:03.402 +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-18 21:51:03.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.402 +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-18 21:51:03.4 +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/18 21:51:03.409 +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-18 21:51:03.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.414 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=525.914µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.415 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.415 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:51:03.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=43] ["take time"=6.313166ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.427 +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-18 21:51:03.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.431 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:51:03.431 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.432 +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/18 21:51:03.447 +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-18 21:51:03.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.447 +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-18 21:51:03.445 +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/18 21:51:03.452 +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-18 21:51:03.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.456 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=413.572µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.457 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.457 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:51:03.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=44] ["take time"=2.503227ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.463 +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-18 21:51:03.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.469 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:51:03.469 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.469 +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/18 21:51:03.472 +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-18 21:51:03.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.472 +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-18 21:51:03.471 +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/18 21:51:03.479 +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-18 21:51:03.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.483 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=344.621µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.484 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.484 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:51:03.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=45] ["take time"=2.623393ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.493 +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-18 21:51:03.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.496 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:51:03.496 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.496 +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/18 21:51:03.501 +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-18 21:51:03.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.501 +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-18 21:51:03.498 +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/18 21:51:03.507 +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-18 21:51:03.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.513 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=670.3µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.514 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.514 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:51:03.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=46] ["take time"=4.659392ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.522 +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-18 21:51:03.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.528 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:51:03.528 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.528 +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/18 21:51:03.538 +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-18 21:51:03.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.538 +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-18 21:51:03.532 +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/18 21:51:03.546 +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-18 21:51:03.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.554 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=382.187µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.555 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.555 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:51:03.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=47] ["take time"=4.760859ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.563 +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-18 21:51:03.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.566 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:51:03.566 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.567 +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/18 21:51:03.569 +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-18 21:51:03.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.569 +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-18 21:51:03.568 +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/18 21:51:03.576 +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-18 21:51:03.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=321.982µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.580 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.580 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:51:03.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=48] ["take time"=3.445324ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.592 +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-18 21:51:03.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.595 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:51:03.595 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.595 +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/18 21:51:03.602 +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-18 21:51:03.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.602 +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-18 21:51:03.6 +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/18 21:51:03.607 +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-18 21:51:03.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.611 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=310.967µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:03.612 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.612 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:51:03.614 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.961ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.618 +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-18 21:51:03.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.621 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:51:03.621 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.622 +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/18 21:51:03.624 +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-18 21:51:03.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.624 +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-18 21:51:03.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:51:03.633 +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-18 21:51:03.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.635 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=61.592µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:51:03.636 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.636 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:51:03.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=50] ["take time"=2.009625ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:03.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.642 +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-18 21:51:03.623 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.645 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:51:03.645 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.649 +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-18 21:51:03.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.649 +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-18 21:51:03.647 +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/18 21:51:03.654 +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-18 21:51:03.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.658 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=257.877µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:03.659 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:03.659 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:51:03.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=51] ["take time"=2.243258ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.670 +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-18 21:51:03.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.673 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:51:03.673 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.753 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.670808018s] [2024/05/18 21:51:03.760 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2d1301f7-09ab-47a7-9ba9-57a3e1189474] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=1.546µs] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=1.175µs] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=787ns] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=941ns] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=1.423µs] [2024/05/18 21:51:03.760 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:03.760 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:03.760 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:03.763 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=2d1301f7-09ab-47a7-9ba9-57a3e1189474] ["take time"=3.452795ms] [2024/05/18 21:51:03.763 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=2d1301f7-09ab-47a7-9ba9-57a3e1189474] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:03.763 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:03.763 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:03.763 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:03.763 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:03.763 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:03.763 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:03.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:03.763 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.696138ms] [2024/05/18 21:51:03.763 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=252820f7-85bd-42ab-9a56-cb653aee7b41] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/18 21:51:03.772 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:03.773 +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/18 21:51:03.790 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=16.932229ms] [2024/05/18 21:51:03.790 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:03.790 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=1de299ab-d1bc-4112-aa84-1c351ed70729] [runWorker=true] [2024/05/18 21:51:03.792 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:03.792 +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/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:03.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:03.792 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:03.793 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:03.793 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:03.793 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:03.793 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:03.793 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:03.795 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:03.795 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:51:03.810 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:03.814 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:03.816 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:03.816 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:51:03.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:03.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:03.817 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:51:03.818 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:03.819 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:03.819 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:03.819 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:51:03.822 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:03.822 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:51:03.822 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:51:03.827 +00:00] [INFO] [set.go:170] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:03.828 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/18 21:51:03.828 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2024/05/18 21:51:03.832 +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-18 21:51:03.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.832 +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-18 21:51:03.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b int)"] [2024/05/18 21:51:03.843 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:03.843 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:03.850 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=7] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:03.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.854 +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/18 21:51:03.890 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=36.331879ms] [2024/05/18 21:51:03.904 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:03.905 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:51:03.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=52] ["take time"=54.516233ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.913 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=7] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:03.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.916 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:51:03.916 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.919 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=52] [cur_db=test] [sql="alter table t drop column b;"] [user=] [2024/05/18 21:51:03.921 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:03.921 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:106, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column b;"] [2024/05/18 21:51:03.927 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.927 +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:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.928 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.930 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=258.559µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:03.931 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/18 21:51:03.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=53] ["take time"=2.41982ms] [job="ID:106, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.934 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.938 +00:00] [INFO] [callback.go:96] ["on job run before"] [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-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.939 +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).buildUpdate\n\tpkg/planner/core/logical_plan_builder.go:5756\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:519\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:549\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:334\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).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue22307.func1\n\tpkg/ddl/db_test.go:150\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="update t set a = 3 where b = 1"] [2024/05/18 21:51:03.939 +00:00] [WARN] [session.go:2116] ["compile SQL failed"] [error="[planner:1054]Unknown column 'b' in 'order clause'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'order 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/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).buildSortWithCheck\n\tpkg/planner/core/logical_plan_builder.go:2313\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSort\n\tpkg/planner/core/logical_plan_builder.go:2297\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdate\n\tpkg/planner/core/logical_plan_builder.go:5776\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:519\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:549\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:334\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).Exec\n\tpkg/testkit/testkit.go:357\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue22307.func1\n\tpkg/ddl/db_test.go:151\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="update t set a = 3 order by b"] [2024/05/18 21:51:03.939 +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:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.940 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.942 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=267.89µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:03.943 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/18 21:51:03.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=54] ["take time"=3.372242ms] [job="ID:106, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.946 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.954 +00:00] [INFO] [callback.go:96] ["on job run before"] [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-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.954 +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:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.955 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.957 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=277.404µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:03.958 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/18 21:51:03.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=55] ["take time"=3.034499ms] [job="ID:106, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.961 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.963 +00:00] [INFO] [callback.go:96] ["on job run before"] [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-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.963 +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:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.965 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.967 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=158.494µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:03.968 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/18 21:51:03.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=56] ["take time"=3.078933ms] [job="ID:106, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.974 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="drop column"] [2024/05/18 21:51:03.974 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [job="ID:106, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.977 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:03.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:03.981 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/18 21:51:03.981 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:03.982 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1de299ab-d1bc-4112-aa84-1c351ed70729] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=1.464µs] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=1.152µs] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=1.007µs] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=1.48µs] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=933ns] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:03.982 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:03.982 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=1de299ab-d1bc-4112-aa84-1c351ed70729] ["take time"=583.97µs] [2024/05/18 21:51:03.982 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=1de299ab-d1bc-4112-aa84-1c351ed70729] [2024/05/18 21:51:03.982 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:51:03.982 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:03.982 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:03.982 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:03.982 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:03.982 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:03.982 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:03.982 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:03.982 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:03.982 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:03.982 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1de299ab-d1bc-4112-aa84-1c351ed70729] [ownerKey=/tidb/stats/owner] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:03.983 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1de299ab-d1bc-4112-aa84-1c351ed70729] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:03.983 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:51:03.983 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:51:03.983 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:03.984 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=2.320239ms] [2024/05/18 21:51:03.984 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:51:03.984 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:51:03.984 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:51:03.984 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:51:03.984 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:51:03.984 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestIssue22307 (1.92s) === RUN TestParallelDDL [2024/05/18 21:51:04.000 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:51:04.000 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:04.000 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:04.001 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:04.001 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:04.002 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:04.004 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=c288d185-bbee-431e-b9f5-d8175ae1793c] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/18 21:51:04.012 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:04.012 +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/18 21:51:04.013 +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.TestParallelDDL\n\tpkg/ddl/ddl_worker_test.go:75\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:51:04.030 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=16.905093ms] [2024/05/18 21:51:04.032 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:04.032 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=c92426b2-48b5-47b0-98ca-2bf8a17cc353] [runWorker=true] [2024/05/18 21:51:04.033 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:04.033 +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/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:04.033 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:04.033 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:04.034 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:04.034 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:04.034 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:04.034 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:04.034 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:04.085 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:04.085 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:04.235 +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/18 21:51:04.241 +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-18 21:51:04.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.241 +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-18 21:51:04.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:51:04.246 +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-18 21:51:04.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.267 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=18.383058ms] [2024/05/18 21:51:04.269 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:04.270 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.271 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:51:04.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=1] ["take time"=26.307959ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:04.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.279 +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-18 21:51:04.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.285 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:51:04.285 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.285 +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/18 21:51:04.286 +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/18 21:51:04.292 +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-18 21:51:04.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.292 +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-18 21:51:04.288 +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/18 21:51:04.303 +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-18 21:51:04.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.316 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.292725ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.318 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.318 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:51:04.320 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.653585ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.327 +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-18 21:51:04.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.336 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:51:04.336 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.337 +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/18 21:51:04.340 +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-18 21:51:04.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.340 +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-18 21:51:04.339 +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/18 21:51:04.352 +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-18 21:51:04.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.356 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=354.175µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.357 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.357 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:51:04.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=3] ["take time"=6.532794ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.372 +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-18 21:51:04.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.376 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:51:04.376 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.377 +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/18 21:51:04.382 +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-18 21:51:04.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.382 +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-18 21:51:04.378 +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/18 21:51:04.390 +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-18 21:51:04.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.393 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=231.415µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.394 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.394 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:51:04.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=4] ["take time"=2.356054ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.402 +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-18 21:51:04.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:51:04.406 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.406 +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/18 21:51:04.411 +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-18 21:51:04.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.411 +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-18 21:51:04.408 +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/18 21:51:04.419 +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-18 21:51:04.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.425 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=706.284µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.426 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:51:04.432 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=7.072524ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.440 +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-18 21:51:04.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.449 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:51:04.449 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.449 +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/18 21:51:04.453 +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-18 21:51:04.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.453 +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-18 21:51:04.451 +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/18 21:51:04.463 +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-18 21:51:04.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.467 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=456.582µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.468 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.468 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:51:04.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=6] ["take time"=2.040487ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.473 +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-18 21:51:04.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.478 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:51:04.478 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.479 +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/18 21:51:04.483 +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-18 21:51:04.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.483 +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-18 21:51:04.481 +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/18 21:51:04.491 +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-18 21:51:04.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.495 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=462.621µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.496 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.496 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:51:04.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=7] ["take time"=4.035983ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.503 +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-18 21:51:04.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:51:04.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.508 +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/18 21:51:04.511 +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-18 21:51:04.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.511 +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-18 21:51:04.509 +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/18 21:51:04.519 +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-18 21:51:04.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.522 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=227.551µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.523 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.523 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:51:04.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=8] ["take time"=2.855345ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.529 +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-18 21:51:04.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.532 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:51:04.532 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.533 +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/18 21:51:04.535 +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-18 21:51:04.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.535 +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-18 21:51:04.534 +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/18 21:51:04.546 +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-18 21:51:04.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.549 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=174.927µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.550 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.550 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:51:04.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=9] ["take time"=2.007316ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.556 +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-18 21:51:04.534 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.559 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:51:04.559 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.559 +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/18 21:51:04.563 +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-18 21:51:04.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.563 +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-18 21:51:04.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/18 21:51:04.570 +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-18 21:51:04.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.574 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=371.724µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.575 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.575 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:51:04.575 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.03868ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.583 +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-18 21:51:04.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.587 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:51:04.587 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.588 +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/18 21:51:04.591 +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-18 21:51:04.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.591 +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-18 21:51:04.589 +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/18 21:51:04.602 +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-18 21:51:04.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.606 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=361.816µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.607 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.607 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:51:04.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=11] ["take time"=2.125901ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.613 +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-18 21:51:04.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:51:04.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.617 +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/18 21:51:04.617 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:04.621 +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-18 21:51:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.621 +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-18 21:51:04.619 +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/18 21:51:04.629 +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-18 21:51:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.634 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=571.62µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.635 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.635 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:51:04.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=12] ["take time"=2.212191ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.647 +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-18 21:51:04.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.652 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:51:04.652 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.653 +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/18 21:51:04.661 +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-18 21:51:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.661 +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-18 21:51:04.659 +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/18 21:51:04.668 +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-18 21:51:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.672 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=458.159µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.673 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.673 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:51:04.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=13] ["take time"=2.112879ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.679 +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-18 21:51:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.684 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:51:04.684 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.684 +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/18 21:51:04.691 +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-18 21:51:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.691 +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-18 21:51:04.688 +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/18 21:51:04.701 +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-18 21:51:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.705 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=322.452µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.706 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.707 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:51:04.709 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.727156ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.714 +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-18 21:51:04.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.718 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:51:04.718 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.719 +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/18 21:51:04.722 +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-18 21:51:04.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.722 +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-18 21:51:04.721 +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/18 21:51:04.730 +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-18 21:51:04.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.734 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=383.111µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.736 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.736 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:51:04.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=15] ["take time"=2.346651ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.746 +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-18 21:51:04.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.750 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:51:04.750 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.750 +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/18 21:51:04.753 +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-18 21:51:04.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.753 +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-18 21:51:04.752 +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/18 21:51:04.761 +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-18 21:51:04.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.764 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=354.263µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.765 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.765 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:51:04.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=16] ["take time"=2.327488ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.772 +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-18 21:51:04.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.776 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:51:04.776 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.776 +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/18 21:51:04.780 +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-18 21:51:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.780 +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-18 21:51:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/18 21:51:04.787 +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-18 21:51:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.790 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=253.149µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.792 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.792 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:51:04.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=17] ["take time"=2.31086ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.798 +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-18 21:51:04.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.801 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:51:04.801 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.802 +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/18 21:51:04.805 +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-18 21:51:04.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.805 +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-18 21:51:04.804 +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/18 21:51:04.813 +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-18 21:51:04.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.816 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=301.767µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.817 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.817 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:51:04.818 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.155226ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.823 +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-18 21:51:04.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.827 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:51:04.827 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.827 +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/18 21:51:04.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-18 21:51:04.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.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-18 21:51:04.829 +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/18 21:51:04.840 +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-18 21:51:04.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.847 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=471.001µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.848 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.848 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:51:04.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=19] ["take time"=2.760715ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.854 +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-18 21:51:04.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.860 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:51:04.860 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.865 +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/18 21:51:04.868 +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-18 21:51:04.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.868 +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-18 21:51:04.867 +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/18 21:51:04.874 +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-18 21:51:04.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.878 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=345.035µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.879 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.879 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:51:04.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=20] ["take time"=3.084032ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.885 +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-18 21:51:04.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.889 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:51:04.889 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.889 +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/18 21:51:04.892 +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-18 21:51:04.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.892 +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-18 21:51:04.891 +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/18 21:51:04.903 +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-18 21:51:04.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.906 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=286.121µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.907 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.907 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:51:04.907 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.089717ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.913 +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-18 21:51:04.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.916 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:51:04.916 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.916 +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/18 21:51:04.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-18 21:51:04.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.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-18 21:51:04.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/18 21:51:04.931 +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-18 21:51:04.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.933 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=166.565µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.934 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.934 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:51:04.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=22] ["take time"=2.06942ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.943 +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-18 21:51:04.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.949 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:51:04.950 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.950 +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/18 21:51:04.953 +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-18 21:51:04.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.954 +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-18 21:51:04.952 +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/18 21:51:04.963 +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-18 21:51:04.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.967 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=424.943µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.968 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.968 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:51:04.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=23] ["take time"=2.614976ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.976 +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-18 21:51:04.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.980 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:51:04.980 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:04.980 +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/18 21:51:04.983 +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-18 21:51:04.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:04.983 +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-18 21:51:04.982 +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/18 21:51:04.991 +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-18 21:51:04.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:04.994 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=271.345µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:04.995 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:04.995 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:51:04.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=24] ["take time"=2.609094ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:04.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.001 +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-18 21:51:04.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.004 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:51:05.004 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.005 +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/18 21:51:05.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-18 21:51:05.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.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-18 21:51:05.006 +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/18 21:51:05.015 +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-18 21:51:05.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.018 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=230.881µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.019 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.019 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:51:05.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=25] ["take time"=2.914864ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.025 +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-18 21:51:05.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.028 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:51:05.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.029 +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/18 21:51:05.031 +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-18 21:51:05.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.031 +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-18 21:51:05.03 +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/18 21:51:05.035 +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/18 21:51:05.038 +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-18 21:51:05.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.043 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=327.329µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.044 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.044 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:51:05.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=26] ["take time"=3.002242ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.051 +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-18 21:51:05.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.054 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:51:05.054 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.054 +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/18 21:51:05.061 +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-18 21:51:05.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.061 +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-18 21:51:05.059 +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/18 21:51:05.067 +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-18 21:51:05.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.072 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=311.936µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.073 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.073 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:51:05.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=27] ["take time"=2.468719ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.078 +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-18 21:51:05.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.085 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:51:05.085 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.086 +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/18 21:51:05.105 +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-18 21:51:05.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.105 +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-18 21:51:05.096 +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/18 21:51:05.113 +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-18 21:51:05.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.116 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=298.157µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.117 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.117 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:51:05.117 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.246794ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.123 +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-18 21:51:05.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.129 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:51:05.129 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.129 +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/18 21:51:05.129 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:05.138 +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-18 21:51:05.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.138 +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-18 21:51:05.136 +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/18 21:51:05.152 +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-18 21:51:05.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.155 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=327.246µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.156 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.156 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:51:05.158 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=3.009288ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.165 +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-18 21:51:05.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.169 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:51:05.169 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.170 +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/18 21:51:05.173 +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-18 21:51:05.171 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.173 +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-18 21:51:05.171 +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/18 21:51:05.179 +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-18 21:51:05.171 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.183 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=422.05µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.184 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.184 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:51:05.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=30] ["take time"=2.06583ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.171 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.190 +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-18 21:51:05.171 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.194 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:51:05.194 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.194 +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/18 21:51:05.197 +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-18 21:51:05.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.197 +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-18 21:51:05.196 +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/18 21:51:05.205 +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-18 21:51:05.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.208 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=276.472µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.210 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.210 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:51:05.210 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.031938ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.216 +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-18 21:51:05.196 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.219 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:51:05.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.219 +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/18 21:51:05.224 +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-18 21:51:05.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.224 +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-18 21:51:05.222 +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/18 21:51:05.230 +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-18 21:51:05.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.234 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=508.428µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.235 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.235 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:51:05.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=32] ["take time"=2.06604ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.243 +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-18 21:51:05.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.249 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:51:05.249 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.250 +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/18 21:51:05.254 +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-18 21:51:05.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.254 +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-18 21:51:05.251 +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/18 21:51:05.260 +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-18 21:51:05.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.263 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=176.589µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.264 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.264 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:51:05.266 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.713079ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.272 +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-18 21:51:05.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.277 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:51:05.277 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.281 +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-18 21:51:05.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.281 +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-18 21:51:05.279 +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/18 21:51:05.293 +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-18 21:51:05.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.298 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=360.815µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:05.299 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.299 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:51:05.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=34] ["take time"=2.965795ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:05.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.305 +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-18 21:51:05.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.309 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:51:05.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.310 +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/18 21:51:05.312 +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-18 21:51:05.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.312 +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-18 21:51:05.311 +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/18 21:51:05.320 +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-18 21:51:05.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.323 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=350.306µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.325 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.325 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:51:05.326 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=3.472011ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.332 +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-18 21:51:05.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.336 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:51:05.336 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.337 +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/18 21:51:05.341 +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-18 21:51:05.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.341 +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-18 21:51:05.339 +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/18 21:51:05.352 +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-18 21:51:05.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.358 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=255.821µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.360 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.360 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:51:05.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=36] ["take time"=2.786788ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.367 +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-18 21:51:05.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.371 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:51:05.371 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.371 +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/18 21:51:05.375 +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-18 21:51:05.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.375 +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-18 21:51:05.373 +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/18 21:51:05.383 +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-18 21:51:05.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.385 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=222.353µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.387 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.387 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:51:05.387 +00:00] [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.022447ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.393 +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-18 21:51:05.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.396 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:51:05.396 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.397 +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/18 21:51:05.401 +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-18 21:51:05.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.401 +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-18 21:51:05.399 +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/18 21:51:05.409 +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-18 21:51:05.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.415 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=583.96µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.416 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.416 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:51:05.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=38] ["take time"=4.074961ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.425 +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-18 21:51:05.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.430 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:51:05.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.430 +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/18 21:51:05.434 +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-18 21:51:05.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.434 +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-18 21:51:05.432 +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/18 21:51:05.441 +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-18 21:51:05.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.446 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=540.445µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.447 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.447 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:51:05.448 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.350694ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.456 +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-18 21:51:05.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.461 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:51:05.461 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.462 +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/18 21:51:05.467 +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-18 21:51:05.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.467 +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-18 21:51:05.464 +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/18 21:51:05.475 +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-18 21:51:05.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=501.568µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.483 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:51:05.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=40] ["take time"=2.547751ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.494 +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-18 21:51:05.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.498 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:51:05.498 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.498 +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/18 21:51:05.502 +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-18 21:51:05.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.502 +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-18 21:51:05.5 +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/18 21:51:05.508 +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-18 21:51:05.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.512 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=545.528µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.513 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.513 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:51:05.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=41] ["take time"=2.037761ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.519 +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-18 21:51:05.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.523 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:51:05.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.524 +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/18 21:51:05.527 +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-18 21:51:05.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.527 +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-18 21:51:05.525 +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/18 21:51:05.534 +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-18 21:51:05.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.538 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=611.593µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.539 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.539 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:51:05.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=42] ["take time"=2.023306ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.544 +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-18 21:51:05.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.547 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:51:05.547 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.548 +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/18 21:51:05.552 +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-18 21:51:05.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.552 +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-18 21:51:05.549 +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/18 21:51:05.557 +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-18 21:51:05.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.562 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=403.565µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.563 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.563 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:51:05.564 +00:00] [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.744213ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.568 +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-18 21:51:05.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.571 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:51:05.572 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.572 +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/18 21:51:05.576 +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-18 21:51:05.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.576 +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-18 21:51:05.573 +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/18 21:51:05.582 +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-18 21:51:05.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.586 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=362.9µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.587 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.587 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:51:05.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=44] ["take time"=2.8076ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.593 +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-18 21:51:05.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.597 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:51:05.597 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.598 +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/18 21:51:05.601 +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-18 21:51:05.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.601 +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-18 21:51:05.599 +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/18 21:51:05.607 +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-18 21:51:05.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.612 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=382.674µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.613 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.613 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:51:05.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=45] ["take time"=2.108003ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.619 +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-18 21:51:05.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.625 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:51:05.625 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.625 +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/18 21:51:05.629 +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-18 21:51:05.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.629 +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-18 21:51:05.627 +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/18 21:51:05.635 +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-18 21:51:05.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.640 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=668.397µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.641 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.641 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:51: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=46] ["take time"=5.054201ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.658 +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-18 21:51:05.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.663 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:51:05.663 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.663 +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/18 21:51:05.667 +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-18 21:51:05.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.667 +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-18 21:51:05.665 +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/18 21:51:05.673 +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-18 21:51:05.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.677 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=443.157µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.678 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.678 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:51: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=47] ["take time"=2.827198ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.684 +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-18 21:51:05.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.688 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:51:05.688 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.688 +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/18 21:51:05.691 +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-18 21:51:05.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.691 +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-18 21:51:05.69 +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/18 21:51:05.699 +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-18 21:51:05.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.703 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=299.243µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.704 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.704 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:51:05.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.036667ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.709 +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-18 21:51:05.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.712 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:51:05.712 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.713 +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/18 21:51:05.718 +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-18 21:51:05.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.718 +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-18 21:51:05.717 +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/18 21:51:05.725 +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-18 21:51:05.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.728 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=359.15µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.729 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.729 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:51:05.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"=3.0155ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.736 +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-18 21:51:05.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.742 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:51:05.742 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.743 +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/18 21:51:05.745 +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-18 21:51:05.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.745 +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-18 21:51:05.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:51:05.752 +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-18 21:51:05.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.756 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=77.263µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:51:05.757 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.757 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:51:05.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=50] ["take time"=2.249543ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:05.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.764 +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-18 21:51:05.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.767 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:51:05.767 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.772 +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-18 21:51:05.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.772 +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-18 21:51:05.769 +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/18 21:51:05.778 +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-18 21:51:05.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.781 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=250.052µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:05.783 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:05.783 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:51:05.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=51] ["take time"=2.175458ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:05.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.788 +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-18 21:51:05.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.793 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:51:05.793 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.827 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.793737224s] [2024/05/18 21:51:05.827 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=c92426b2-48b5-47b0-98ca-2bf8a17cc353] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=7.335µs] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=4.401µs] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=4.16µs] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=4.496µs] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=1.233µs] [2024/05/18 21:51:05.827 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:05.827 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:05.827 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:05.831 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=c92426b2-48b5-47b0-98ca-2bf8a17cc353] ["take time"=3.966688ms] [2024/05/18 21:51:05.831 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=c92426b2-48b5-47b0-98ca-2bf8a17cc353] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:05.831 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:05.831 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:05.831 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:05.831 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:05.831 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:05.831 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:05.831 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:05.831 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=4.404363ms] [2024/05/18 21:51:05.832 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=c288d185-bbee-431e-b9f5-d8175ae1793c] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/18 21:51:05.839 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:05.839 +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/18 21:51:05.870 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=30.171348ms] [2024/05/18 21:51:05.883 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:05.883 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=e0345fdf-03df-4243-9629-b020514050b8] [runWorker=true] [2024/05/18 21:51:05.883 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:05.883 +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/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:05.883 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:05.883 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:05.883 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:05.883 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:05.883 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:05.883 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:05.884 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:05.890 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:05.891 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:51:05.904 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:05.907 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:05.909 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:05.909 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:51:05.910 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:05.910 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:05.910 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:51:05.910 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:05.911 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:51:05.911 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:05.911 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:05.912 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:05.914 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:51:05.914 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:51:05.917 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:05.917 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="create database test_parallel_ddl_1"] [user=] [2024/05/18 21:51:05.920 +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-18 21:51:05.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.920 +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-18 21:51:05.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_parallel_ddl_1"] [2024/05/18 21:51:05.925 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=105] [conn=8] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.927 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=64.073µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:51:05.929 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:51:05.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=52] ["take time"=2.390157ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:05.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.934 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=105] [conn=8] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.944 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:51:05.944 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.945 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="create database test_parallel_ddl_2"] [user=] [2024/05/18 21:51:05.947 +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-18 21:51:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.947 +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-18 21:51:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_parallel_ddl_2"] [2024/05/18 21:51:05.954 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=8] [category=ddl] [job="ID:107, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.959 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=75.481µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:51:05.961 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/18 21:51:05.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=53] ["take time"=2.827356ms] [job="ID:107, Type:create schema, State:done, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.966 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=8] [job="ID:107, Type:create schema, State:synced, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.969 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:51:05.969 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.969 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="create table test_parallel_ddl_1.t1(c1 int, c2 int, key db1_idx2(c2))"] [user=] [2024/05/18 21:51:05.972 +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-18 21:51:05.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.972 +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-18 21:51:05.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_parallel_ddl_1.t1(c1 int, c2 int, key db1_idx2(c2))"] [2024/05/18 21:51:05.981 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=8] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.983 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=259.938µs] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:05.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/18 21:51:05.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=54] ["take time"=3.065803ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.991 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=8] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:05.994 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/18 21:51:05.994 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:05.995 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=54] [cur_db=test] [sql="create table test_parallel_ddl_1.t2(c1 int primary key, c2 int, c3 int)"] [user=] [2024/05/18 21:51:05.997 +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:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:05.997 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_parallel_ddl_1.t2(c1 int primary key, c2 int, c3 int)"] [2024/05/18 21:51:06.004 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=111] [conn=8] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.007 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=199.671µs] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:06.008 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2024/05/18 21:51:06.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=55] ["take time"=2.913493ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:05.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.014 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=111] [conn=8] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:05.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.017 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/18 21:51:06.017 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.018 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=55] [cur_db=test] [sql="create table test_parallel_ddl_2.t3(c1 int, c2 int, c3 int, c4 int)"] [user=] [2024/05/18 21:51:06.020 +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:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.021 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_parallel_ddl_2.t3(c1 int, c2 int, c3 int, c4 int)"] [2024/05/18 21:51:06.027 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=113] [conn=8] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.031 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=311.643µs] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:06.032 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2024/05/18 21:51:06.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=56] ["take time"=17.745765ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.055 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=113] [conn=8] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.059 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/18 21:51:06.059 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.065 +00:00] [INFO] [set.go:170] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.066 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_1.t1 add column c3 int"] [user=] [2024/05/18 21:51:06.066 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_1.t1 add index db1_idx1(c1)"] [user=] [2024/05/18 21:51:06.069 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:add column, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.069 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:add column, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table test_parallel_ddl_1.t1 add column c3 int"] [2024/05/18 21:51:06.071 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_1.t1 add index db1_idxx(c1)"] [user=] [2024/05/18 21:51:06.071 +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:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:06.071 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table test_parallel_ddl_1.t1 add index db1_idx1(c1)"] [2024/05/18 21:51:06.074 +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:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:06.074 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table test_parallel_ddl_1.t1 add index db1_idxx(c1)"] [2024/05/18 21:51:06.082 +00:00] [INFO] [set.go:170] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.083 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_1.t2 drop column c3"] [user=] [2024/05/18 21:51:06.086 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.086 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table test_parallel_ddl_1.t2 drop column c3"] [2024/05/18 21:51:06.086 +00:00] [INFO] [set.go:170] ["set global var"] [conn=14] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.086 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_1.t1 drop index db1_idx2"] [user=] [2024/05/18 21:51:06.092 +00:00] [INFO] [set.go:170] ["set global var"] [conn=15] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.097 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:drop index, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.097 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop index, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table test_parallel_ddl_1.t1 drop index db1_idx2"] [2024/05/18 21:51:06.098 +00:00] [INFO] [set.go:170] ["set global var"] [conn=16] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.099 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_1.t2 add index db1_idx2(c2)"] [user=] [2024/05/18 21:51:06.103 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:06.104 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:119, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table test_parallel_ddl_1.t2 add index db1_idx2(c2)"] [2024/05/18 21:51:06.104 +00:00] [INFO] [set.go:170] ["set global var"] [conn=17] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.105 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_2.t3 drop column c4"] [user=] [2024/05/18 21:51:06.106 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_1.t1 add index db1_idx3(c2)"] [user=] [2024/05/18 21:51:06.108 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop column, State:queueing, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.109 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:120, Type:drop column, State:queueing, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table test_parallel_ddl_2.t3 drop column c4"] [2024/05/18 21:51:06.110 +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:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:06.110 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table test_parallel_ddl_1.t1 add index db1_idx3(c2)"] [2024/05/18 21:51:06.110 +00:00] [INFO] [set.go:170] ["set global var"] [conn=18] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.111 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_2.t3 auto_id_cache 1024"] [user=] [2024/05/18 21:51:06.113 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:modify auto id cache, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.113 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:122, Type:modify auto id cache, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table test_parallel_ddl_2.t3 auto_id_cache 1024"] [2024/05/18 21:51:06.118 +00:00] [INFO] [set.go:170] ["set global var"] [conn=20] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.119 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=56] [cur_db=] [sql="drop database test_parallel_ddl_2"] [user=] [2024/05/18 21:51:06.121 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.121 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_parallel_ddl_2"] [2024/05/18 21:51:06.121 +00:00] [INFO] [set.go:170] ["set global var"] [conn=21] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.125 +00:00] [INFO] [set.go:170] ["set global var"] [conn=22] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.125 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=56] [cur_db=] [sql="alter table test_parallel_ddl_2.t3 add index db3_idx1(c2)"] [user=] [2024/05/18 21:51:06.127 +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:106, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.126 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:06.128 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.126 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table test_parallel_ddl_2.t3 add index db3_idx1(c2)"] [2024/05/18 21:51:06.149 +00:00] [INFO] [set.go:170] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:06.161 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add column, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.165 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:add column, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.165 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":2,\"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/18 21:51:06.168 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.171 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=331.504µs] [gotSchemaVersion=57] [phyTblIDs="[108]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/18 21:51:06.172 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2024/05/18 21:51:06.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=57] ["take time"=2.012113ms] [job="ID:114, Type:add column, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.174 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.181 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.181 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.183 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.189 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=278.155µs] [gotSchemaVersion=58] [phyTblIDs="[108]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/18 21:51:06.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/18 21:51:06.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=4.185804ms] [job="ID:114, Type:add column, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.194 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.198 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.198 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.199 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.206 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=350.924µs] [gotSchemaVersion=59] [phyTblIDs="[110]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.208 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=59] [2024/05/18 21:51:06.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=59] ["take time"=5.411528ms] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.212 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.217 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.217 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.218 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.221 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=382.318µs] [gotSchemaVersion=60] [phyTblIDs="[108]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/18 21:51:06.222 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=60] [2024/05/18 21:51:06.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=60] ["take time"=6.268437ms] [job="ID:114, Type:add column, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.230 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.242 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.242 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.243 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.244 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=302.734µs] [gotSchemaVersion=61] [phyTblIDs="[110]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.246 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2024/05/18 21:51:06.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=61] ["take time"=2.014187ms] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.247 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.251 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.251 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.252 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add column, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.255 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=402.276µs] [gotSchemaVersion=62] [phyTblIDs="[108]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/18 21:51:06.257 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=62] [2024/05/18 21:51:06.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=62] ["take time"=5.406503ms] [job="ID:114, Type:add column, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.262 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add column, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.263 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.263 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.264 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.266 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=336.097µs] [gotSchemaVersion=63] [phyTblIDs="[110]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.268 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=63] [2024/05/18 21:51:06.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=63] ["take time"=6.218851ms] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.274 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.275 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [job="ID:114, Type:add column, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.278 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add column, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.067 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.279 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/18 21:51:06.279 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.296 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.296 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.296 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"db1_idx1\",\"L\":\"db1_idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/18 21:51:06.296 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:06.297 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.300 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=461.3µs] [gotSchemaVersion=64] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.300 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.300 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.301 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.302 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=64] [2024/05/18 21:51:06.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=64] ["take time"=4.010108ms] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.304 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=326.808µs] [gotSchemaVersion=65] [phyTblIDs="[110]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.304 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.305 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=65] [2024/05/18 21:51:06.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=65] ["take time"=2.090896ms] [job="ID:117, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.307 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.312 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:drop column, State:queueing, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.312 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=17] [category=ddl] [job="ID:120, Type:drop column, State:queueing, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.313 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:write only, SchemaID:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.315 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=350.582µs] [gotSchemaVersion=66] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.316 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.316 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.316 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=66] [2024/05/18 21:51:06.317 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.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=66] ["take time"=4.010235ms] [job="ID:120, Type:drop column, State:running, SchemaState:write only, SchemaID:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.319 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=412.838µs] [gotSchemaVersion=67] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.319 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop column"] [2024/05/18 21:51:06.319 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=13] [job="ID:117, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.320 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=67] [2024/05/18 21:51:06.321 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:write only, SchemaID:106, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.322 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=4.049513ms] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.323 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.325 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.327 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/18 21:51:06.327 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.329 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:write only, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.329 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=17] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:write only, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.330 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete only, SchemaID:106, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.332 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=255.009µs] [gotSchemaVersion=68] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.333 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.333 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.334 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=68] [2024/05/18 21:51:06.334 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.336 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=228.898µs] [gotSchemaVersion=69] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.337 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=69] [2024/05/18 21:51:06.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=69] ["take time"=2.348912ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.338 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.338 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.339 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:none, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"db1_idx2\",\"L\":\"db1_idx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/18 21:51:06.339 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:06.339 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.339 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.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=68] ["take time"=7.938947ms] [job="ID:120, Type:drop column, State:running, SchemaState:delete only, SchemaID:106, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.341 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=316.102µs] [gotSchemaVersion=70] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.342 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete only, SchemaID:106, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.343 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=70] [2024/05/18 21:51:06.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=70] ["take time"=2.052345ms] [job="ID:119, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.344 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.347 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.347 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.347 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t1] ["ingest mode"=false] [index=db1_idx1] [2024/05/18 21:51:06.348 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{108 t1 utf8mb4 utf8mb4_bin [0xc048ba9340 0xc048ba94a0 0xc048ba9600] [0xc025f18c60 0xc025f18ea0] [] [] public false false 0 0 0 0 0 3 2 0 0 449857209324797953 0 0 0 0 0 0 5 false disable 7 104}"] ["table/partition ID"=108] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:51:06.348 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=108] [startKey=] [endKey=] [2024/05/18 21:51:06.350 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete only, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.350 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=17] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete only, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.350 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.351 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:106, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.351 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/18 21:51:06.352 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.353 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=334.279µs] [gotSchemaVersion=71] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.353 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.353 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.354 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.354 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=71] [2024/05/18 21:51:06.355 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=2.051196ms] [job="ID:120, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:106, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.356 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=367.012µs] [gotSchemaVersion=72] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.356 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:106, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.358 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=72] [2024/05/18 21:51:06.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=72] ["take time"=2.137428ms] [job="ID:119, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.359 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.361 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.361 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.362 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t1] ["ingest mode"=false] [index=db1_idx1] [2024/05/18 21:51:06.364 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:,EndKey:,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/18 21:51:06.365 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=] ["end key"=] [2024/05/18 21:51:06.365 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=108] [2024/05/18 21:51:06.365 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=115] [2024/05/18 21:51:06.366 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=115] [2024/05/18 21:51:06.366 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=115] [2024/05/18 21:51:06.366 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=115] [2024/05/18 21:51:06.366 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:51:06.366 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.367 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.367 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=17] [category=ddl] [job="ID:120, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.368 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.368 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.369 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.371 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=381.856µs] [gotSchemaVersion=73] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.372 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:drop column, State:done, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.372 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=73] [2024/05/18 21:51:06.372 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=2.054549ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.374 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.375 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=360.782µs] [gotSchemaVersion=74] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/18 21:51:06.376 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.376 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=74] [2024/05/18 21:51:06.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=74] ["take time"=2.055631ms] [job="ID:120, Type:drop column, State:done, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.378 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=328.234µs] [gotSchemaVersion=75] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.378 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:drop column, State:done, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.379 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=75] [2024/05/18 21:51:06.380 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.380 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209328730112, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.380 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=115] [table=t1] [index=db1_idx1] [2024/05/18 21:51:06.381 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.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=75] ["take time"=3.146493ms] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.383 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=422.436µs] [gotSchemaVersion=76] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.384 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=76] [2024/05/18 21:51:06.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=76] ["take time"=2.086487ms] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.386 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop column"] [2024/05/18 21:51:06.386 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=17] [job="ID:120, Type:drop column, State:synced, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.387 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.388 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.389 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:drop column, State:synced, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.393 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/18 21:51:06.393 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.398 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:modify auto id cache, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.398 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=122] [conn=18] [category=ddl] [job="ID:122, Type:modify auto id cache, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.399 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:modify auto id cache, State:done, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.401 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=318.616µs] [gotSchemaVersion=77] [phyTblIDs="[112]"] [actionTypes="[39]"] [diffTypes="[\"modify auto id cache\"]"] [2024/05/18 21:51:06.402 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.402 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.402 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=108] [startKey=74800000000000006c5f69ffff000000000002] [endKey=74800000000000006c5f69ffff000000000002ff] [2024/05/18 21:51:06.403 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=77] [2024/05/18 21:51: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=77] ["take time"=2.027022ms] [job="ID:122, Type:modify auto id cache, State:done, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.404 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:modify auto id cache, State:done, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.406 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.407 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/18 21:51:06.408 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.410 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.410 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.410 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=119] [table=t2] ["ingest mode"=false] [index=db1_idx2] [2024/05/18 21:51:06.411 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{110 t2 utf8mb4 utf8mb4_bin [0xc04cbac2c0 0xc04cbac420] [0xc027a90090] [] [] public true false 0 0 0 0 0 3 1 0 0 449857209333972992 0 0 0 0 0 0 5 false disable 7 104}"] ["table/partition ID"=110] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:51:06.411 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=119] [physicalTableID=110] [startKey=] [endKey=] [2024/05/18 21:51:06.413 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.414 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=122] [conn=18] [job="ID:122, Type:modify auto id cache, State:synced, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.414 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=119] [2024/05/18 21:51:06.415 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.417 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/18 21:51:06.417 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.417 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:modify auto id cache, State:synced, SchemaState:public, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.418 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.418 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=115] [conn=9] [category=ddl] [job="ID:115, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.420 +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:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000006c5f69ffff000000000002,EndKey:74800000000000006c5f69ffff000000000002ff,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/18 21:51:06.421 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.421 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.421 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=119] [table=t2] ["ingest mode"=false] [index=db1_idx2] [2024/05/18 21:51:06.421 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f69ffff000000000002] ["end key"=74800000000000006c5f69ffff000000000002ff] [2024/05/18 21:51:06.421 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f69ffff000000000002] [endKey=74800000000000006c5f69ffff000000000002ff] [2024/05/18 21:51:06.422 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f69ffff000000000002ff] ["current end key"=74800000000000006c5f69ffff00000000000200] [2024/05/18 21:51:06.422 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=115] [2024/05/18 21:51:06.422 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=115] [2024/05/18 21:51:06.422 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=115] [2024/05/18 21:51:06.422 +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: [74800000000000006c5f69ffff000000000002, 74800000000000006c5f69ffff00000000000200), jobID: 115"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006c5f69ffff0000000000020000] ["take time"=248.764µs] [2024/05/18 21:51:06.422 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=115] [2024/05/18 21:51:06.422 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=74800000000000006c5f69ffff000000000002] [2024/05/18 21:51:06.422 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.423 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:06.423 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.423 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:,EndKey:,First:false,PhysicalTableID:110,Ingest mode:false"] [2024/05/18 21:51:06.424 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=110] ["start key"=] ["end key"=] [2024/05/18 21:51:06.424 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=110] [2024/05/18 21:51:06.424 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=119] [2024/05/18 21:51:06.424 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=119] [2024/05/18 21:51:06.425 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=119] [2024/05/18 21:51:06.425 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=119] [2024/05/18 21:51:06.425 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:51:06.425 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.425 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.426 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=434.468µs] [gotSchemaVersion=78] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.426 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.426 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=123] [conn=20] [category=ddl] [job="ID:123, Type:drop schema, State:queueing, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.427 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=78] [2024/05/18 21:51:06.428 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.428 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=433.001µs] [gotSchemaVersion=79] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.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=78] ["take time"=4.035983ms] [job="ID:115, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.429 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=79] [2024/05/18 21:51:06.430 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=233.297µs] [gotSchemaVersion=80] [phyTblIDs="[112]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2024/05/18 21:51:06.430 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.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=79] ["take time"=4.020171ms] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.431 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=80] [2024/05/18 21:51:06.432 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=2.073902ms] [job="ID:123, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.432 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.433 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.441 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=115] [tableID=108] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:51:06.442 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="add index"] [2024/05/18 21:51:06.443 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=115] [conn=9] [job="ID:115, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.445 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.445 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=123] [conn=20] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:write only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.446 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.447 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=25.842µs] [gotSchemaVersion=81] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/18 21:51:06.447 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=1] [startKey=74800000000000006c5f69ffff000000000002] [endKey=74800000000000006c5f69ffff000000000003] [2024/05/18 21:51:06.449 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=81] [2024/05/18 21:51:06.449 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.449 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209344983041, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.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=81] ["take time"=2.389124ms] [job="ID:123, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.450 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209342885890, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.450 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=119] [table=t2] [index=db1_idx2] [2024/05/18 21:51:06.450 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.451 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.453 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=413.238µs] [gotSchemaVersion=82] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.453 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/18 21:51:06.453 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.454 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=82] [2024/05/18 21:51:06.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=82] ["take time"=4.429149ms] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.458 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.458 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.458 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.458 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"db1_idxx\",\"L\":\"db1_idxx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/18 21:51:06.459 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:06.459 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.461 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=400.327µs] [gotSchemaVersion=83] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.462 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.462 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=123] [conn=20] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:delete only, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.462 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:drop schema, State:done, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.463 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=83] [2024/05/18 21:51:06.464 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=53.784µs] [gotSchemaVersion=84] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/18 21:51:06.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=83] ["take time"=3.539659ms] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.465 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=84] [2024/05/18 21:51:06.466 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.469 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.469 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.469 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=119] [physicalTableID=110] [startKey=74800000000000006e5f69ffff000000000001] [endKey=74800000000000006e5f69ffff000000000001ff] [2024/05/18 21:51:06.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=84] ["take time"=5.746104ms] [job="ID:123, Type:drop schema, State:done, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.471 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:drop schema, State:done, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.472 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.473 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=119] [2024/05/18 21:51:06.474 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.474 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.474 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.475 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.476 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[112]"] [comment="drop schema: table IDs"] [2024/05/18 21:51:06.478 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop schema"] [2024/05/18 21:51:06.478 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=443.488µs] [gotSchemaVersion=85] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.478 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=123] [conn=20] [job="ID:123, Type:drop schema, State:synced, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.479 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=85] [2024/05/18 21:51:06.480 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.480 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=119] [conn=16] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.481 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:drop schema, State:synced, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.482 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/18 21:51:06.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=85] ["take time"=4.965296ms] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.482 +00:00] [INFO] [index.go:1937] ["start to merge temp index"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:110, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006e5f69ffff000000000001,EndKey:74800000000000006e5f69ffff000000000001ff,First:false,PhysicalTableID:110,Ingest mode:false"] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=110] ["start key"=74800000000000006e5f69ffff000000000001] ["end key"=74800000000000006e5f69ffff000000000001ff] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006e5f69ffff000000000001] [endKey=74800000000000006e5f69ffff000000000001ff] [2024/05/18 21:51:06.484 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/18 21:51:06.484 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=110] ["end key"=74800000000000006e5f69ffff000000000001ff] ["current end key"=74800000000000006e5f69ffff00000000000100] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=119] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 110, range: [74800000000000006e5f69ffff000000000001, 74800000000000006e5f69ffff00000000000100), jobID: 119"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006e5f69ffff0000000000010000] ["take time"=154.141µs] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=119] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=119] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=119] [2024/05/18 21:51:06.484 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=74800000000000006e5f69ffff000000000001] [2024/05/18 21:51:06.484 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.487 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:06.487 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.487 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.487 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.126 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.487 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=124] [conn=22] [category=ddl] [job="ID:124, Type:add index, State:queueing, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.126 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.488 +00:00] [INFO] [ddl_worker.go:1168] ["DDL job is cancelled normally"] [worker="worker 57, tp add index"] [category=ddl] [jobID=124] [conn=22] [error="[schema:1049]Unknown database '(Schema ID 106)'"] [errorVerbose="[schema:1049]Unknown database '(Schema ID 106)'\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.getTableInfo\n\tpkg/ddl/table.go:696\ngithub.com/pingcap/tidb/pkg/ddl.checkTableExistAndCancelNonExistJob\n\tpkg/ddl/table.go:676\ngithub.com/pingcap/tidb/pkg/ddl.GetTableInfoAndCancelFaultJob\n\tpkg/ddl/table.go:662\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:555\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1280\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/18 21:51:06.488 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add index, State:cancelled, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.126 +0000 UTC, Err:[schema:1049]Unknown database '(Schema ID 106)', ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.488 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=124] [conn=22] [job="ID:124, Type:add index, State:cancelled, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.126 +0000 UTC, Err:[schema:1049]Unknown database '(Schema ID 106)', ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.489 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=294.39µs] [gotSchemaVersion=86] [phyTblIDs="[110]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.490 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=86] [2024/05/18 21:51:06.491 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add index, State:cancelled, SchemaState:none, SchemaID:106, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.126 +0000 UTC, Err:[schema:1049]Unknown database '(Schema ID 106)', ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.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=86] ["take time"=2.793443ms] [job="ID:119, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.492 +00:00] [INFO] [ddl.go:1321] ["DDL job is failed"] [category=ddl] [jobID=124] [2024/05/18 21:51:06.492 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:51:06.492 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=56] [error="[schema:1049]Unknown database '(Schema ID 106)'"] [errorVerbose="[schema:1049]Unknown database '(Schema ID 106)'\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).createIndex\n\tpkg/ddl/ddl_api.go:7734\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3937\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.TestParallelDDL.func13\n\tpkg/ddl/ddl_worker_test.go:243\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\": \"\",\n \"id\": 22,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/18 21:51:06.493 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.494 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.494 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.495 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.497 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=252.889µs] [gotSchemaVersion=87] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.498 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=87] [2024/05/18 21:51:06.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=87] ["take time"=2.150461ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.500 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.501 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=119] [tableID=110] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:51:06.501 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="add index"] [2024/05/18 21:51:06.502 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=119] [conn=16] [job="ID:119, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.505 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=119] [elementID=1] [startKey=74800000000000006e5f69ffff000000000001] [endKey=74800000000000006e5f69ffff000000000002] [2024/05/18 21:51:06.506 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209360449536, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.506 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.506 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.507 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t1] ["ingest mode"=false] [index=db1_idxx] [2024/05/18 21:51:06.507 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{108 t1 utf8mb4 utf8mb4_bin [0xc052b53a20 0xc052b53b80 0xc052b53ce0] [0xc02997d950 0xc02997db90 0xc02997ddd0] [] [] public false false 0 0 0 0 0 3 3 0 0 449857209367003136 0 0 0 0 0 0 5 false disable 13 104}"] ["table/partition ID"=108] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:51:06.507 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=108] [startKey=] [endKey=] [2024/05/18 21:51:06.507 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=119] [2024/05/18 21:51:06.507 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.509 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.509 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/18 21:51:06.510 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.518 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.518 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.518 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t1] ["ingest mode"=false] [index=db1_idxx] [2024/05/18 21:51:06.521 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:,EndKey:,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/18 21:51:06.522 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=] ["end key"=] [2024/05/18 21:51:06.522 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=108] [2024/05/18 21:51:06.522 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=116] [2024/05/18 21:51:06.522 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=116] [2024/05/18 21:51:06.522 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=116] [2024/05/18 21:51:06.522 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=116] [2024/05/18 21:51:06.522 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:51:06.522 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.522 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.530 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=353.767µs] [gotSchemaVersion=88] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.531 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=88] [2024/05/18 21:51:06.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=4.232024ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.535 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.540 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.540 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209370411008, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.540 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=116] [table=t1] [index=db1_idxx] [2024/05/18 21:51:06.541 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.543 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=396.286µs] [gotSchemaVersion=89] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.544 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=89] [2024/05/18 21:51:06.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=89] ["take time"=4.591193ms] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.548 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.551 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.551 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.552 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=108] [startKey=74800000000000006c5f69ffff000000000003] [endKey=74800000000000006c5f69ffff000000000003ff] [2024/05/18 21:51:06.555 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.556 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/18 21:51:06.557 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.561 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.561 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=116] [conn=12] [category=ddl] [job="ID:116, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.563 +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:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:74800000000000006c5f69ffff000000000003,EndKey:74800000000000006c5f69ffff000000000003ff,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/18 21:51:06.564 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f69ffff000000000003] ["end key"=74800000000000006c5f69ffff000000000003ff] [2024/05/18 21:51:06.564 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f69ffff000000000003] [endKey=74800000000000006c5f69ffff000000000003ff] [2024/05/18 21:51:06.565 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f69ffff000000000003ff] ["current end key"=74800000000000006c5f69ffff00000000000300] [2024/05/18 21:51:06.565 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:06.565 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:06.565 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:06.565 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [task="taskID: 1, physicalTableID: 108, range: [74800000000000006c5f69ffff000000000003, 74800000000000006c5f69ffff00000000000300), jobID: 116"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006c5f69ffff0000000000030000] ["take time"=122.189µs] [2024/05/18 21:51:06.565 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=116] [2024/05/18 21:51:06.565 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=0] ["start key"=74800000000000006c5f69ffff000000000003] [2024/05/18 21:51:06.565 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.565 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:06.565 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.567 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=255.689µs] [gotSchemaVersion=90] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.568 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=116] [version=90] [2024/05/18 21:51:06.569 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=2.129412ms] [job="ID:116, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.571 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.577 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=116] [tableID=108] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:51:06.578 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="add index"] [2024/05/18 21:51:06.579 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=116] [conn=12] [job="ID:116, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.585 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=74800000000000006c5f69ffff000000000003] [endKey=74800000000000006c5f69ffff000000000004] [2024/05/18 21:51:06.586 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209382207488, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.590 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:drop index, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.590 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=118] [conn=14] [category=ddl] [job="ID:118, Type:drop index, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.590 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/18 21:51:06.590 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.591 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.592 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=324.875µs] [gotSchemaVersion=91] [phyTblIDs="[108]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:06.593 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=91] [2024/05/18 21:51:06.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=2.012956ms] [job="ID:118, Type:drop index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.596 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.600 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.600 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=118] [conn=14] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.601 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.603 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=379.056µs] [gotSchemaVersion=92] [phyTblIDs="[108]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:06.604 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=92] [2024/05/18 21:51:06.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=92] ["take time"=2.437861ms] [job="ID:118, Type:drop index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.606 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.615 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.615 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=118] [conn=14] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.616 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.618 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=329.492µs] [gotSchemaVersion=93] [phyTblIDs="[108]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:06.619 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=93] [2024/05/18 21:51:06.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=93] ["take time"=2.06285ms] [job="ID:118, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.620 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.625 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.625 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=118] [conn=14] [category=ddl] [job="ID:118, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.625 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:drop index, State:done, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.628 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=366.316µs] [gotSchemaVersion=94] [phyTblIDs="[108]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/18 21:51:06.629 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=94] [2024/05/18 21:51:06.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=94] ["take time"=2.108436ms] [job="ID:118, Type:drop index, State:done, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.631 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:drop index, State:done, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.639 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=118] [tableID=108] [indexIDs="[1]"] [comment="drop index: table ID"] [2024/05/18 21:51:06.640 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop index"] [2024/05/18 21:51:06.640 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=118] [conn=14] [job="ID:118, Type:drop index, State:synced, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.643 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=74800000000000006c5f698000000000000001] [endKey=74800000000000006c5f698000000000000002] [2024/05/18 21:51:06.643 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:drop index, State:synced, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:4, start time: 2024-05-18 21:51:06.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.645 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/18 21:51:06.645 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.646 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.646 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.646 +00:00] [INFO] [index.go:652] ["run add index job"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"db1_idx3\",\"L\":\"db1_idx3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/18 21:51:06.646 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:51:06.647 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.649 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=339.074µs] [gotSchemaVersion=95] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.650 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=95] [2024/05/18 21:51:06.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=95] ["take time"=2.144449ms] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.652 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.655 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.656 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.656 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.658 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=285.943µs] [gotSchemaVersion=96] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.659 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=96] [2024/05/18 21:51:06.660 +00:00] [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"=2.030173ms] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.661 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.667 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.667 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.668 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.670 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=376.011µs] [gotSchemaVersion=97] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.672 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=97] [2024/05/18 21:51:06.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=97] ["take time"=4.085844ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.675 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.683 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.683 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.684 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=121] [table=t1] ["ingest mode"=false] [index=db1_idx3] [2024/05/18 21:51:06.684 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{108 t1 utf8mb4 utf8mb4_bin [0xc02c914b00 0xc02c914c60 0xc02c914dc0] [0xc02ce46510 0xc02ce46750 0xc02ce46990] [] [] public false false 0 0 0 0 0 3 4 0 0 449857209412354049 0 0 0 0 0 0 5 false disable 23 104}"] ["table/partition ID"=108] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:51:06.684 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=121] [physicalTableID=108] [startKey=] [endKey=] [2024/05/18 21:51:06.687 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.688 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/18 21:51:06.689 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.694 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.694 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.695 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=121] [table=t1] ["ingest mode"=false] [index=db1_idx3] [2024/05/18 21:51:06.696 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:,EndKey:,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/18 21:51:06.698 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=] ["end key"=] [2024/05/18 21:51:06.698 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=108] [2024/05/18 21:51:06.698 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=121] [2024/05/18 21:51:06.698 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=121] [2024/05/18 21:51:06.698 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=121] [2024/05/18 21:51:06.698 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=121] [2024/05/18 21:51:06.698 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:51:06.698 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.698 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.700 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=475.48µs] [gotSchemaVersion=98] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.702 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=98] [2024/05/18 21:51: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=98] ["take time"=2.610644ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.704 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.709 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.709 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209416810497, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.709 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=121] [table=t1] [index=db1_idx3] [2024/05/18 21:51:06.710 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.712 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=373.002µs] [gotSchemaVersion=99] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.713 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=99] [2024/05/18 21:51:06.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=99] ["take time"=2.021438ms] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.715 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.721 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.721 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.721 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=121] [physicalTableID=108] [startKey=74800000000000006c5f69ffff000000000004] [endKey=74800000000000006c5f69ffff000000000004ff] [2024/05/18 21:51:06.724 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.725 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/18 21:51:06.726 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.732 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.732 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=121] [conn=19] [category=ddl] [job="ID:121, Type:add index, State:running, SchemaState:write reorganization, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.734 +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:104, TableID:108, RowCount:0, ArgLen:6, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:74800000000000006c5f69ffff000000000004,EndKey:74800000000000006c5f69ffff000000000004ff,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/18 21:51:06.734 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f69ffff000000000004] ["end key"=74800000000000006c5f69ffff000000000004ff] [2024/05/18 21:51:06.735 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f69ffff000000000004] [endKey=74800000000000006c5f69ffff000000000004ff] [2024/05/18 21:51:06.735 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f69ffff000000000004ff] ["current end key"=74800000000000006c5f69ffff00000000000400] [2024/05/18 21:51:06.735 +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: [74800000000000006c5f69ffff000000000004, 74800000000000006c5f69ffff00000000000400), jobID: 121"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006c5f69ffff0000000000040000] ["take time"=105.97µs] [2024/05/18 21:51:06.735 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=121] [2024/05/18 21:51:06.735 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=121] [2024/05/18 21:51:06.735 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=121] [2024/05/18 21:51:06.735 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=121] [2024/05/18 21:51:06.735 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=0] ["start key"=74800000000000006c5f69ffff000000000004] [2024/05/18 21:51:06.735 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:51:06.736 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:51:06.736 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.738 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=390.221µs] [gotSchemaVersion=100] [phyTblIDs="[108]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:51:06.739 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=100] [2024/05/18 21:51:06.742 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=4.570792ms] [job="ID:121, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.744 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.747 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=121] [tableID=108] [indexIDs="[9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:51:06.748 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="add index"] [2024/05/18 21:51:06.749 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=121] [conn=19] [job="ID:121, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.752 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=74800000000000006c5f69ffff000000000004] [endKey=74800000000000006c5f69ffff000000000005] [2024/05/18 21:51:06.753 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add index, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:06.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209426509824, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:06.755 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/18 21:51:06.755 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] ddl_worker_test.go:251: Error Trace: pkg/ddl/ddl_worker_test.go:251 Error: "61" is not less than "57" Test: TestParallelDDL [2024/05/18 21:51:06.758 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e0345fdf-03df-4243-9629-b020514050b8] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=2.062µs] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=1.093µs] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=1.151µs] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=1.118µs] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=1.155µs] [2024/05/18 21:51:06.758 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:06.758 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:06.758 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:06.761 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=e0345fdf-03df-4243-9629-b020514050b8] ["take time"=4.772383ms] [2024/05/18 21:51:06.761 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=e0345fdf-03df-4243-9629-b020514050b8] [2024/05/18 21:51:06.761 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:51:06.761 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:06.761 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:06.761 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:06.761 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:06.761 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:06.761 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:06.761 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:06.761 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:06.761 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:06.761 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:51:06.762 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e0345fdf-03df-4243-9629-b020514050b8] [ownerKey=/tidb/stats/owner] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:06.762 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:06.762 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:06.762 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e0345fdf-03df-4243-9629-b020514050b8] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:06.762 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:06.762 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:06.763 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:51:06.763 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:06.763 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.85907ms] [2024/05/18 21:51:06.765 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:51:06.765 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:51:06.765 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:51:06.765 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:51:06.765 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:51:06.765 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestParallelDDL (2.78s) === RUN TestModifyColumnTime [2024/05/18 21:51:06.769 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:51:06.770 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:06.770 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:06.770 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:06.770 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:06.771 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:06.773 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=fbcec548-4cf5-4fd8-b352-eb2856f1aa11] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:51:06.779 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:06.779 +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/18 21:51:06.780 +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.testModifyColumnTime\n\tpkg/ddl/modify_column_test.go:507\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnTime\n\tpkg/ddl/modify_column_test.go:495\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:51:06.797 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=17.561706ms] [2024/05/18 21:51:06.799 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:06.800 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=ec2a8a35-8f7e-4803-a1af-84ec4588a629] [runWorker=true] [2024/05/18 21:51:06.800 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:06.800 +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/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:06.800 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:06.800 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:06.800 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:06.800 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:06.800 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:06.800 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:06.800 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:06.801 +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/18 21:51:06.804 +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-18 21:51:06.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.804 +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-18 21:51:06.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:51:06.811 +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-18 21:51:06.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.835 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=22.26202ms] [2024/05/18 21:51:06.838 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:06.839 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:06.840 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:51:06.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"=28.01775ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:06.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.846 +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-18 21:51:06.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.849 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:51:06.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.849 +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/18 21:51:06.850 +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/18 21:51:06.856 +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-18 21:51:06.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.856 +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-18 21:51:06.852 +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/18 21:51:06.869 +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-18 21:51:06.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.882 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.231903ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:06.883 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:06.883 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:51:06.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=2] ["take time"=4.278971ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.892 +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-18 21:51:06.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.900 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:51:06.900 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.901 +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/18 21:51:06.905 +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-18 21:51:06.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.905 +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-18 21:51:06.903 +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/18 21:51:06.914 +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-18 21:51:06.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.918 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=446.361µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:06.920 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:06.920 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:51:06.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=3] ["take time"=4.015483ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.933 +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-18 21:51:06.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.942 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:51:06.942 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.943 +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/18 21:51:06.947 +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-18 21:51:06.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.947 +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-18 21:51:06.945 +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/18 21:51:06.956 +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-18 21:51:06.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.959 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=233.984µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:06.960 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:06.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:51:06.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"=2.103081ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.965 +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-18 21:51:06.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.968 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:51:06.968 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.969 +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/18 21:51:06.973 +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-18 21:51:06.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.973 +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-18 21:51:06.971 +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/18 21:51:06.979 +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-18 21:51:06.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.984 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=524.564µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:06.985 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:06.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:51: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=5] ["take time"=2.055511ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.991 +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-18 21:51:06.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:06.996 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:51:06.996 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:06.996 +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/18 21:51:06.999 +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-18 21:51:06.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:06.999 +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-18 21:51:06.998 +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/18 21:51:07.008 +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-18 21:51:06.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.013 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=446.073µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.014 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.014 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:51:07.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=6] ["take time"=4.50455ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:06.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.021 +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-18 21:51:06.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.026 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:51:07.026 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.026 +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/18 21:51:07.030 +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-18 21:51:07.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.030 +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-18 21:51:07.028 +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/18 21:51:07.035 +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-18 21:51:07.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.039 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=356.788µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.040 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.040 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:51:07.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=7] ["take time"=2.450087ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.047 +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-18 21:51:07.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.050 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:51:07.050 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.051 +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/18 21:51:07.053 +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-18 21:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.053 +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-18 21:51:07.052 +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/18 21:51:07.061 +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-18 21:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.064 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=242.505µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.065 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.065 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:51:07.068 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=4.281314ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.073 +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-18 21:51:07.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.077 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:51:07.077 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.077 +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/18 21:51:07.080 +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-18 21:51:07.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.080 +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-18 21:51:07.079 +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/18 21:51:07.089 +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-18 21:51:07.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.092 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=263.038µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.094 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.094 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:51:07.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=9] ["take time"=5.65916ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.103 +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-18 21:51:07.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.107 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:51:07.107 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.107 +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/18 21:51:07.111 +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-18 21:51:07.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.111 +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-18 21:51:07.109 +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/18 21:51:07.118 +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-18 21:51:07.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.121 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=228.722µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.122 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.122 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:51:07.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=10] ["take time"=2.571533ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.129 +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-18 21:51:07.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.133 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:51:07.133 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.133 +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/18 21:51:07.136 +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-18 21:51:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.136 +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-18 21:51:07.135 +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/18 21:51:07.146 +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-18 21:51:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.149 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=323.828µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.152 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.152 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:51:07.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.009997ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.161 +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-18 21:51:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.165 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:51:07.165 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.165 +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/18 21:51:07.165 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:07.169 +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-18 21:51:07.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.169 +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-18 21:51:07.167 +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/18 21:51:07.175 +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-18 21:51:07.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.178 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=425.295µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.179 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.179 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:51:07.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=12] ["take time"=2.149451ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.184 +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-18 21:51:07.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.188 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:51:07.188 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.188 +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/18 21:51:07.191 +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-18 21:51:07.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.191 +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-18 21:51:07.189 +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/18 21:51:07.198 +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-18 21:51:07.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.202 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=449.38µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.203 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.203 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:51:07.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=13] ["take time"=2.340428ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.209 +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-18 21:51:07.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.214 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:51:07.214 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.215 +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/18 21:51:07.218 +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-18 21:51:07.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.218 +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-18 21:51:07.216 +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/18 21:51:07.227 +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-18 21:51:07.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.230 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=315.99µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.232 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.232 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:51:07.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"=2.220102ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.239 +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-18 21:51:07.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.244 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:51:07.244 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.245 +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/18 21:51:07.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-18 21:51:07.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.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-18 21:51:07.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/18 21:51:07.253 +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-18 21:51:07.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.257 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=345.829µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.258 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.258 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:51:07.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=15] ["take time"=6.104306ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.266 +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-18 21:51:07.246 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.269 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:51:07.269 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.270 +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/18 21:51:07.273 +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-18 21:51:07.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.273 +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-18 21:51:07.271 +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/18 21:51:07.280 +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-18 21:51:07.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.283 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=230.617µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.284 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.284 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:51:07.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=16] ["take time"=2.140354ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.289 +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-18 21:51:07.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.292 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:51:07.292 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.293 +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/18 21:51:07.295 +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-18 21:51:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.295 +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-18 21:51:07.294 +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/18 21:51:07.302 +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-18 21:51:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.306 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=341.072µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.307 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.307 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:51:07.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=17] ["take time"=2.019481ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.312 +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-18 21:51:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.315 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:51:07.315 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.316 +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/18 21:51:07.319 +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-18 21:51:07.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.319 +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-18 21:51:07.317 +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/18 21:51:07.325 +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-18 21:51:07.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.328 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=306.268µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.329 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.329 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:51:07.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=18] ["take time"=2.170982ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.334 +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-18 21:51:07.317 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.337 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:51:07.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.338 +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/18 21:51:07.341 +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-18 21:51:07.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.341 +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-18 21:51:07.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/18 21:51:07.348 +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-18 21:51:07.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.353 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=486.124µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.354 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.354 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:51:07.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"=2.224122ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.360 +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-18 21:51:07.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.364 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:51:07.364 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.365 +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/18 21:51:07.368 +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-18 21:51:07.366 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.368 +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-18 21:51:07.366 +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/18 21:51:07.373 +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-18 21:51:07.366 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.376 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=301.404µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.377 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.377 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:51:07.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=20] ["take time"=2.662481ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.366 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.382 +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-18 21:51:07.366 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.385 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:51:07.385 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.386 +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/18 21:51:07.388 +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-18 21:51:07.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.388 +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-18 21:51:07.387 +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/18 21:51:07.394 +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-18 21:51:07.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.396 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=159.655µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.397 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.397 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:51:07.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=21] ["take time"=2.784613ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.403 +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-18 21:51:07.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.406 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:51:07.406 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.406 +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/18 21:51:07.408 +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-18 21:51:07.407 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.408 +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-18 21:51:07.407 +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/18 21:51:07.412 +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-18 21:51:07.407 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.414 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=162.295µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.415 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.415 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:51:07.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=22] ["take time"=2.018459ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.407 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.420 +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-18 21:51:07.407 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.422 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:51:07.422 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.423 +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/18 21:51:07.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-18 21:51:07.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.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-18 21:51:07.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/18 21:51:07.433 +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-18 21:51:07.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.436 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=296.111µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.437 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.437 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:51:07.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"=2.103234ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.442 +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-18 21:51:07.424 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.445 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:51:07.445 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.446 +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/18 21:51:07.450 +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-18 21:51:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.450 +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-18 21:51:07.448 +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/18 21:51:07.456 +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-18 21:51:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.459 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=312.676µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.460 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.460 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:51:07.460 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.101841ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.466 +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-18 21:51:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.470 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:51:07.470 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.470 +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/18 21:51:07.473 +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-18 21:51:07.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.473 +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-18 21:51:07.472 +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/18 21:51:07.481 +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-18 21:51:07.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.485 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=328.327µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.486 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.486 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:51:07.486 +00:00] [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.203752ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.492 +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-18 21:51:07.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.496 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:51:07.496 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.497 +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/18 21:51:07.501 +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-18 21:51:07.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.501 +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-18 21:51:07.499 +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/18 21:51:07.509 +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-18 21:51:07.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.513 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=242.297µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.514 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.514 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:51:07.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.017058ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.520 +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-18 21:51:07.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.523 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:51:07.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.523 +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/18 21:51:07.526 +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-18 21:51:07.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.526 +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-18 21:51:07.525 +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/18 21:51:07.533 +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-18 21:51:07.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.536 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=238.057µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.537 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.537 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:51:07.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=27] ["take time"=2.217205ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.542 +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-18 21:51:07.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.545 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:51:07.545 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.546 +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/18 21:51:07.548 +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-18 21:51:07.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.548 +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-18 21:51:07.547 +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/18 21:51:07.555 +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-18 21:51:07.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.558 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=222.252µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.559 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.559 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:51:07.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=28] ["take time"=2.045675ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.567 +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-18 21:51:07.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.571 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:51:07.571 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.571 +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/18 21:51:07.571 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:07.574 +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-18 21:51:07.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.574 +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-18 21:51:07.572 +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/18 21:51:07.581 +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-18 21:51:07.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.586 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=324.991µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.587 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.587 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:51:07.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=29] ["take time"=2.259618ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.591 +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-18 21:51:07.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.594 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:51:07.594 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.594 +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/18 21:51:07.597 +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-18 21:51:07.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.597 +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-18 21:51:07.596 +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/18 21:51:07.605 +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-18 21:51:07.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.608 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=282.145µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.609 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.609 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:51:07.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=30] ["take time"=2.331536ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.614 +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-18 21:51:07.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.618 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:51:07.618 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.618 +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/18 21:51:07.621 +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-18 21:51:07.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.621 +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-18 21:51:07.62 +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/18 21:51:07.626 +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-18 21:51:07.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=251.171µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.630 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.630 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:51:07.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=31] ["take time"=2.668651ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.636 +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-18 21:51:07.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.639 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:51:07.639 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.639 +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/18 21:51:07.643 +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-18 21:51:07.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.643 +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-18 21:51:07.641 +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/18 21:51:07.648 +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-18 21:51:07.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.653 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=511.05µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.654 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.654 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:51:07.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=32] ["take time"=2.031346ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.659 +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-18 21:51:07.641 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.663 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:51:07.663 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.663 +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/18 21:51:07.666 +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-18 21:51:07.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.666 +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-18 21:51:07.665 +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/18 21:51:07.673 +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-18 21:51:07.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.675 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=188.07µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.676 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.676 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:51:07.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=33] ["take time"=3.273136ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.682 +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-18 21:51:07.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.686 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:51:07.686 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.690 +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-18 21:51:07.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.690 +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-18 21:51:07.688 +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/18 21:51:07.696 +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-18 21:51:07.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.700 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=261.08µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:07.701 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.701 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:51:07.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=34] ["take time"=2.052188ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:07.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.708 +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-18 21:51:07.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.711 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:51:07.711 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.712 +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/18 21:51:07.715 +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-18 21:51:07.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.715 +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-18 21:51:07.713 +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/18 21:51:07.721 +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-18 21:51:07.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.726 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=353.564µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.728 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.728 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:51:07.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=35] ["take time"=7.460286ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.738 +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-18 21:51:07.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.743 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:51:07.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.743 +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/18 21:51:07.747 +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-18 21:51:07.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.747 +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-18 21:51:07.745 +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/18 21:51:07.752 +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-18 21:51:07.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.756 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=301.65µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.757 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.757 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:51:07.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=36] ["take time"=2.147134ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.762 +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-18 21:51:07.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.765 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:51:07.765 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.765 +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/18 21:51:07.768 +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-18 21:51:07.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.768 +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-18 21:51:07.766 +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/18 21:51:07.773 +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-18 21:51:07.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.776 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=240.235µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.777 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.777 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:51:07.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=37] ["take time"=2.30717ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.781 +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-18 21:51:07.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.784 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:51:07.784 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.784 +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/18 21:51:07.788 +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-18 21:51:07.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.788 +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-18 21:51:07.786 +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/18 21:51:07.793 +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-18 21:51:07.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.797 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=375.846µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.798 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.798 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:51:07.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=38] ["take time"=2.012088ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.800 +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/18 21:51:07.802 +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-18 21:51:07.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.806 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:51:07.806 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.807 +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/18 21:51:07.809 +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-18 21:51:07.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.810 +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-18 21:51:07.808 +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/18 21:51:07.815 +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-18 21:51:07.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.818 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=328.672µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.819 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.819 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:51:07.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.274325ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.824 +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-18 21:51:07.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.828 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:51:07.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.828 +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/18 21:51:07.832 +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-18 21:51:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.832 +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-18 21:51:07.83 +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/18 21:51:07.837 +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-18 21:51:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.841 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=572.069µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.842 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.842 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:51:07.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=40] ["take time"=4.668135ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.850 +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-18 21:51:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.853 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:51:07.854 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.854 +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/18 21:51:07.857 +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-18 21:51:07.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.857 +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-18 21:51:07.855 +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/18 21:51:07.862 +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-18 21:51:07.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.866 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=597.96µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.867 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.867 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:51:07.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=41] ["take time"=4.76011ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.875 +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-18 21:51:07.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.880 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:51:07.880 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.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/18 21:51:07.883 +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-18 21:51:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.883 +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-18 21:51:07.882 +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/18 21:51:07.889 +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-18 21:51:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.892 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=422.361µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.894 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.894 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:51: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=42] ["take time"=2.872906ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.900 +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-18 21:51:07.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.904 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:51:07.904 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.904 +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/18 21:51:07.907 +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-18 21:51:07.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.907 +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-18 21:51:07.906 +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/18 21:51:07.912 +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-18 21:51:07.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.917 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=594.053µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.918 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.918 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:51:07.919 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.487434ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.924 +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-18 21:51:07.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.928 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:51:07.929 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.929 +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/18 21:51:07.932 +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-18 21:51:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.932 +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-18 21:51:07.93 +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/18 21:51:07.938 +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-18 21:51:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.941 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=339.139µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.943 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.943 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:51:07.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=44] ["take time"=2.344956ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.947 +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-18 21:51:07.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.951 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:51:07.951 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.952 +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/18 21:51:07.954 +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-18 21:51:07.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.954 +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-18 21:51:07.953 +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/18 21:51:07.962 +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-18 21:51:07.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.966 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=458.497µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.968 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.968 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:51:07.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=45] ["take time"=4.99248ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.975 +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-18 21:51:07.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.979 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:51:07.979 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:07.979 +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/18 21:51:07.983 +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-18 21:51:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:07.983 +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-18 21:51:07.981 +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/18 21:51:07.989 +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-18 21:51:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:07.993 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=691.098µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:07.995 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:07.995 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:51:07.997 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.089426ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.002 +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-18 21:51:07.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.006 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:51:08.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.006 +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/18 21:51:08.009 +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-18 21:51:08.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.009 +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-18 21:51:08.007 +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/18 21:51:08.015 +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-18 21:51:08.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.018 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=361.176µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.020 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:08.020 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:51:08.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=47] ["take time"=2.398761ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.024 +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-18 21:51:08.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.028 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:51:08.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.028 +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/18 21:51:08.031 +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-18 21:51:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.031 +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-18 21:51:08.03 +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/18 21:51:08.038 +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-18 21:51:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.040 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=230.757µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.041 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:08.041 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:51:08.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=48] ["take time"=2.421333ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.046 +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-18 21:51:08.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.049 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:51:08.049 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.049 +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/18 21:51:08.052 +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-18 21:51:08.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.052 +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-18 21:51:08.05 +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/18 21:51:08.057 +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-18 21:51:08.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.060 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=319.244µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.061 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:08.061 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:51:08.062 +00:00] [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.474515ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.065 +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-18 21:51:08.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.068 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:51:08.068 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.069 +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/18 21:51:08.071 +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-18 21:51:08.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.071 +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-18 21:51:08.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:51:08.077 +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-18 21:51:08.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.079 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=91.083µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:51:08.080 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:08.080 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:51:08.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=50] ["take time"=2.16048ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:08.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.085 +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-18 21:51:08.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.087 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:51:08.087 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.090 +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-18 21:51:08.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.090 +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-18 21:51:08.089 +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/18 21:51:08.096 +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-18 21:51:08.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.098 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=208.257µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:08.100 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:08.100 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:51:08.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=51] ["take time"=2.442042ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.108 +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-18 21:51:08.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.111 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:51:08.111 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.142 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.342254245s] [2024/05/18 21:51:08.142 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ec2a8a35-8f7e-4803-a1af-84ec4588a629] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=4.571µs] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=3.058µs] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=3.157µs] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=3.744µs] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=1.085µs] [2024/05/18 21:51:08.143 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:08.143 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:08.143 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:08.146 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=ec2a8a35-8f7e-4803-a1af-84ec4588a629] ["take time"=3.323198ms] [2024/05/18 21:51:08.146 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=ec2a8a35-8f7e-4803-a1af-84ec4588a629] [2024/05/18 21:51:08.146 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:08.146 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:08.146 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:08.146 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:08.146 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:08.146 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:08.146 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:08.146 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.582398ms] [2024/05/18 21:51:08.146 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=fbcec548-4cf5-4fd8-b352-eb2856f1aa11] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:51:08.152 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:08.152 +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/18 21:51:08.177 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=24.877832ms] [2024/05/18 21:51:08.185 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:08.185 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] [runWorker=true] [2024/05/18 21:51:08.185 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:08.185 +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/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:08.185 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:08.185 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:08.185 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:08.185 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:08.185 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:08.185 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:08.186 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:08.193 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:08.193 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:51:08.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:08.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:08.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:08.210 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:51:08.211 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:08.211 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:08.211 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:51:08.211 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:08.212 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:51:08.213 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:08.213 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:08.213 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:08.213 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:51:08.213 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:51:08.219 +00:00] [INFO] [set.go:170] ["set global var"] [conn=25] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:08.223 +00:00] [INFO] [set.go:170] ["set global var"] [conn=25] [name=tidb_ddl_error_count_limit] [val=3] [2024/05/18 21:51:08.223 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:08.224 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=51] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:08.226 +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-18 21:51:08.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.226 +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-18 21:51:08.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:08.231 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=25] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.233 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=178.866µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.235 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/18 21:51:08.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=52] ["take time"=2.5048ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.249 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=25] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.225 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.251 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:51:08.251 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.253 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=52] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:08.255 +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-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:08.255 +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-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:08.259 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=25] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.261 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=235.156µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.262 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/18 21:51:08.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=53] ["take time"=2.016531ms] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.268 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=25] [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-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.270 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=228.319µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.271 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/18 21:51:08.273 +00:00] [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.790161ms] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.279 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=25] [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-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.281 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=176.192µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.282 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/18 21:51:08.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=55] ["take time"=2.830099ms] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.289 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=25] [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-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.290 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/18 21:51:08.293 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/18 21:51:08.298 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=25] [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-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209837813760, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.299 +00:00] [INFO] [column.go:1076] ["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-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209837813760, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/18 21:51:08.300 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/18 21:51:08.300 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/18 21:51:08.300 +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/18 21:51:08.300 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/18 21:51:08.300 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/18 21:51:08.300 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/18 21:51:08.301 +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"=411.855µs] [2024/05/18 21:51:08.301 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/18 21:51:08.301 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/18 21:51:08.301 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:08.334 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=183.087µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.335 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/18 21:51:08.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=56] ["take time"=2.055208ms] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209837813760, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.341 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="modify column"] [2024/05/18 21:51:08.341 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=25] [job="ID:106, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209837813760, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.346 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/18 21:51:08.346 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.347 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=56] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:08.349 +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-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.349 +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-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:08.356 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=25] [category=ddl] [job="ID:107, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.358 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=78.463µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.359 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=57] [2024/05/18 21:51:08.360 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.271876ms] [job="ID:107, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.365 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=25] [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-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.366 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=35.169µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.367 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=58] [2024/05/18 21:51:08.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=58] ["take time"=2.269178ms] [job="ID:107, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.372 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=25] [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-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.374 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=38.868µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.375 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=59] [2024/05/18 21:51:08.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=59] ["take time"=2.199222ms] [job="ID:107, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.382 +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/18 21:51:08.382 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="drop table"] [2024/05/18 21:51:08.383 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=25] [job="ID:107, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.387 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:51:08.387 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.387 +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/18 21:51:08.388 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=59] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:08.390 +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-18 21:51:08.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.390 +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-18 21:51:08.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:08.396 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=25] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.399 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=242.782µs] [gotSchemaVersion=60] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.400 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=60] [2024/05/18 21:51:08.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=60] ["take time"=2.243437ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.405 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=25] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.410 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/18 21:51:08.410 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.411 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=60] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:08.414 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:08.414 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:110, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:08.422 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=110] [conn=25] [category=ddl] [job="ID:110, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.425 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=244.347µs] [gotSchemaVersion=61] [phyTblIDs="[108]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.426 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=61] [2024/05/18 21:51:08.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=61] ["take time"=2.732785ms] [job="ID:110, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.434 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=110] [conn=25] [category=ddl] [job="ID:110, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.437 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=278.685µs] [gotSchemaVersion=62] [phyTblIDs="[108]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.438 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=62] [2024/05/18 21:51:08.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=4.097638ms] [job="ID:110, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.445 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=110] [conn=25] [category=ddl] [job="ID:110, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.448 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=245.798µs] [gotSchemaVersion=63] [phyTblIDs="[108]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.450 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=63] [2024/05/18 21:51:08.453 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=4.588215ms] [job="ID:110, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:108, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.460 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=110] [conn=25] [category=ddl] [job="ID:110, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.460 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=108] [startKey=74800000000000006c5f728000000000000001] [endKey=74800000000000006c5f72800000000000000100] [2024/05/18 21:51:08.463 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/18 21:51:08.468 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=110] [conn=25] [category=ddl] [job="ID:110, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209882378241, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.470 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:110, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:108, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209882378241, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:74800000000000006c5f728000000000000001,EndKey:74800000000000006c5f72800000000000000100,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/18 21:51:08.471 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f728000000000000001] ["end key"=74800000000000006c5f72800000000000000100] [2024/05/18 21:51:08.471 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f728000000000000001] [endKey=74800000000000006c5f72800000000000000100] [2024/05/18 21:51:08.471 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f72800000000000000100] ["current end key"=74800000000000006c5f72800000000000000100] [2024/05/18 21:51:08.471 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=110] [2024/05/18 21:51:08.472 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 108, range: [74800000000000006c5f728000000000000001, 74800000000000006c5f72800000000000000100), jobID: 110"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000006c5f7280000000000000010000] ["take time"=383.23µs] [2024/05/18 21:51:08.472 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=110] [2024/05/18 21:51:08.472 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=110] [2024/05/18 21:51:08.472 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=110] [2024/05/18 21:51:08.472 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=74800000000000006c5f728000000000000001] [2024/05/18 21:51:08.472 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:08.507 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=177.507µs] [gotSchemaVersion=64] [phyTblIDs="[108]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.508 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=110] [version=64] [2024/05/18 21:51:08.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=64] ["take time"=3.578026ms] [job="ID:110, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209882378241, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.518 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="modify column"] [2024/05/18 21:51:08.518 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=110] [conn=25] [job="ID:110, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209882378241, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.523 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/18 21:51:08.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.525 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=64] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:08.527 +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:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.527 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:08.532 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=111] [conn=25] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.534 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=76.148µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.535 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=65] [2024/05/18 21:51: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=65] ["take time"=5.087619ms] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.545 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=111] [conn=25] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.547 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=47.303µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.549 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=66] [2024/05/18 21:51:08.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=66] ["take time"=2.835267ms] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.554 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=111] [conn=25] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.556 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=46.558µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.557 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=111] [version=67] [2024/05/18 21:51:08.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=67] ["take time"=2.819423ms] [job="ID:111, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.563 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=111] [tableIDs="[108]"] [comment="drop table: table ID"] [2024/05/18 21:51:08.564 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="drop table"] [2024/05/18 21:51:08.564 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=111] [conn=25] [job="ID:111, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.569 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=111] [elementID=1] [startKey=74800000000000006c] [endKey=74800000000000006d] [2024/05/18 21:51:08.569 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/18 21:51:08.569 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.570 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=67] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:08.572 +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-18 21:51:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.572 +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-18 21:51:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:08.576 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=113] [conn=25] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.578 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=204.897µs] [gotSchemaVersion=68] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.580 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=113] [version=68] [2024/05/18 21:51:08.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=68] ["take time"=2.600822ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.585 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=113] [conn=25] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.588 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/18 21:51:08.588 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.589 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=68] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:08.592 +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-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:08.592 +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-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:08.597 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=114] [conn=25] [category=ddl] [job="ID:114, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.599 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=235.626µs] [gotSchemaVersion=69] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.600 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=69] [2024/05/18 21:51:08.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=69] ["take time"=2.717823ms] [job="ID:114, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.607 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=114] [conn=25] [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-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.609 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=242.783µs] [gotSchemaVersion=70] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.611 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=70] [2024/05/18 21:51:08.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=70] ["take time"=2.510698ms] [job="ID:114, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.618 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=114] [conn=25] [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-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.620 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=197.177µs] [gotSchemaVersion=71] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.621 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=71] [2024/05/18 21:51:08.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=71] ["take time"=2.271324ms] [job="ID:114, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.628 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=114] [conn=25] [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-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.629 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000100] [2024/05/18 21:51:08.632 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/18 21:51:08.639 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=114] [conn=25] [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-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209926680576, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.643 +00:00] [INFO] [column.go:1076] ["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-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209926680576, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000705f728000000000000001,EndKey:7480000000000000705f72800000000000000100,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/18 21:51:08.644 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000100] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000100] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f72800000000000000100] ["current end key"=7480000000000000705f72800000000000000100] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=114] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f728000000000000001, 7480000000000000705f72800000000000000100), jobID: 114"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000705f7280000000000000010000] ["take time"=447.969µs] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=114] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=114] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=114] [2024/05/18 21:51:08.645 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000705f728000000000000001] [2024/05/18 21:51:08.646 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:08.679 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=169.693µs] [gotSchemaVersion=72] [phyTblIDs="[112]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.680 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=72] [2024/05/18 21:51:08.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=72] ["take time"=2.962444ms] [job="ID:114, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209926680576, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.688 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="modify column"] [2024/05/18 21:51:08.688 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=114] [conn=25] [job="ID:114, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209926680576, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.693 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/18 21:51:08.693 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.694 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=72] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:08.696 +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:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.696 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:08.700 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=25] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.702 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=58.125µs] [gotSchemaVersion=73] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.704 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=73] [2024/05/18 21:51:08.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=73] ["take time"=2.022057ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.708 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=25] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.710 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=50.679µs] [gotSchemaVersion=74] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.712 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=74] [2024/05/18 21:51: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=74] ["take time"=2.901142ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.718 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=25] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.720 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=64.813µs] [gotSchemaVersion=75] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.722 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=115] [version=75] [2024/05/18 21:51:08.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=75] ["take time"=2.330903ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.727 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[112]"] [comment="drop table: table ID"] [2024/05/18 21:51:08.728 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2024/05/18 21:51:08.728 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=115] [conn=25] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.732 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/18 21:51:08.732 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/18 21:51:08.732 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.733 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=75] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:08.735 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.735 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:08.739 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=117] [conn=25] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.741 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=195.056µs] [gotSchemaVersion=76] [phyTblIDs="[116]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.743 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=117] [version=76] [2024/05/18 21:51:08.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=76] ["take time"=2.026137ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.749 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=117] [conn=25] [job="ID:117, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.751 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/18 21:51:08.751 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.752 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=76] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:08.754 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:08.754 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:118, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:08.758 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=118] [conn=25] [category=ddl] [job="ID:118, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.760 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=195.476µs] [gotSchemaVersion=77] [phyTblIDs="[116]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.761 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=77] [2024/05/18 21:51:08.762 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=2.060113ms] [job="ID:118, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.769 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=118] [conn=25] [category=ddl] [job="ID:118, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.771 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=223.395µs] [gotSchemaVersion=78] [phyTblIDs="[116]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.772 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=78] [2024/05/18 21:51:08.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=78] ["take time"=2.240132ms] [job="ID:118, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.779 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=118] [conn=25] [category=ddl] [job="ID:118, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.785 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=223.257µs] [gotSchemaVersion=79] [phyTblIDs="[116]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.786 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=79] [2024/05/18 21:51:08.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=79] ["take time"=2.198642ms] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.796 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=118] [conn=25] [category=ddl] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.797 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=118] [physicalTableID=116] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000100] [2024/05/18 21:51:08.800 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=118] [2024/05/18 21:51:08.805 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=118] [conn=25] [category=ddl] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209970458625, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.807 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:118, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209970458625, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000745f728000000000000001,EndKey:7480000000000000745f72800000000000000100,First:false,PhysicalTableID:116,Ingest mode:false"] [2024/05/18 21:51:08.808 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=116] ["start key"=7480000000000000745f728000000000000001] ["end key"=7480000000000000745f72800000000000000100] [2024/05/18 21:51:08.808 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000100] [2024/05/18 21:51:08.808 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=116] ["end key"=7480000000000000745f72800000000000000100] ["current end key"=7480000000000000745f72800000000000000100] [2024/05/18 21:51:08.808 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=118] [2024/05/18 21:51:08.808 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=118] [2024/05/18 21:51:08.808 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=118] [2024/05/18 21:51:08.809 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 116, range: [7480000000000000745f728000000000000001, 7480000000000000745f72800000000000000100), jobID: 118"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000745f7280000000000000010000] ["take time"=358.576µs] [2024/05/18 21:51:08.809 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=118] [2024/05/18 21:51:08.809 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000745f728000000000000001] [2024/05/18 21:51:08.809 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:08.847 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=202.276µs] [gotSchemaVersion=80] [phyTblIDs="[116]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.848 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=118] [version=80] [2024/05/18 21:51:08.849 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=2.013314ms] [job="ID:118, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209970458625, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.855 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="modify column"] [2024/05/18 21:51:08.855 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=118] [conn=25] [job="ID:118, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857209970458625, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.860 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/18 21:51:08.860 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.861 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=80] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:08.863 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.863 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:08.868 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=119] [conn=25] [category=ddl] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.870 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=72.209µs] [gotSchemaVersion=81] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.871 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=81] [2024/05/18 21:51:08.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=81] ["take time"=2.719627ms] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.876 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=119] [conn=25] [category=ddl] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.879 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=55.601µs] [gotSchemaVersion=82] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.880 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=82] [2024/05/18 21:51:08.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=82] ["take time"=2.192185ms] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.884 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=119] [conn=25] [category=ddl] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.886 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=50.151µs] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:08.887 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=83] [2024/05/18 21:51:08.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=83] ["take time"=2.583375ms] [job="ID:119, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.893 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="drop table: table ID"] [2024/05/18 21:51:08.894 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="drop table"] [2024/05/18 21:51:08.894 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=119] [conn=25] [job="ID:119, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:08.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.898 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=119] [elementID=1] [startKey=748000000000000074] [endKey=748000000000000075] [2024/05/18 21:51:08.898 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=119] [2024/05/18 21:51:08.898 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.899 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=83] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:08.901 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:08.901 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:08.905 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=121] [conn=25] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.911 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=177.326µs] [gotSchemaVersion=84] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:08.912 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=84] [2024/05/18 21:51:08.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=84] ["take time"=2.914197ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:08.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.918 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=121] [conn=25] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:08.921 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/18 21:51:08.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:08.922 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=84] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:08.923 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:08.924 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:122, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:08.927 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=122] [conn=25] [category=ddl] [job="ID:122, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=187.415µs] [gotSchemaVersion=85] [phyTblIDs="[120]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.930 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=85] [2024/05/18 21:51:08.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=85] ["take time"=2.384165ms] [job="ID:122, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.937 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=122] [conn=25] [category=ddl] [job="ID:122, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.940 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=167.527µs] [gotSchemaVersion=86] [phyTblIDs="[120]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.941 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=86] [2024/05/18 21:51:08.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=86] ["take time"=3.024068ms] [job="ID:122, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.948 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=122] [conn=25] [category=ddl] [job="ID:122, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.950 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=229.686µs] [gotSchemaVersion=87] [phyTblIDs="[120]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:08.952 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=87] [2024/05/18 21:51:08.957 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=2.197143ms] [job="ID:122, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.963 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=122] [conn=25] [category=ddl] [job="ID:122, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.964 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=120] [startKey=7480000000000000785f728000000000000001] [endKey=7480000000000000785f72800000000000000100] [2024/05/18 21:51:08.967 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=122] [2024/05/18 21:51:08.973 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=122] [conn=25] [category=ddl] [job="ID:122, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210014498816, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:08.975 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:122, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210014498816, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000785f728000000000000001,EndKey:7480000000000000785f72800000000000000100,First:false,PhysicalTableID:120,Ingest mode:false"] [2024/05/18 21:51:08.976 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=120] ["start key"=7480000000000000785f728000000000000001] ["end key"=7480000000000000785f72800000000000000100] [2024/05/18 21:51:08.976 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000785f728000000000000001] [endKey=7480000000000000785f72800000000000000100] [2024/05/18 21:51:08.977 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=120] ["end key"=7480000000000000785f72800000000000000100] ["current end key"=7480000000000000785f72800000000000000100] [2024/05/18 21:51:08.977 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=122] [2024/05/18 21:51:08.977 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=122] [2024/05/18 21:51:08.977 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=122] [2024/05/18 21:51:08.977 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 120, range: [7480000000000000785f728000000000000001, 7480000000000000785f72800000000000000100), jobID: 122"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000785f7280000000000000010000] ["take time"=459.826µs] [2024/05/18 21:51:08.977 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=122] [2024/05/18 21:51:08.977 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000785f728000000000000001] [2024/05/18 21:51:08.977 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:09.015 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=180.414µs] [gotSchemaVersion=88] [phyTblIDs="[120]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.017 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=88] [2024/05/18 21:51:09.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=88] ["take time"=2.382411ms] [job="ID:122, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210014498816, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.025 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="modify column"] [2024/05/18 21:51:09.025 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=122] [conn=25] [job="ID:122, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:08.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210014498816, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.030 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/18 21:51:09.030 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.032 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=88] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:09.034 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.034 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:09.039 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=123] [conn=25] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.041 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=95.958µs] [gotSchemaVersion=89] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.042 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=89] [2024/05/18 21:51:09.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=89] ["take time"=2.279255ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.047 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=123] [conn=25] [category=ddl] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.049 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=47.825µs] [gotSchemaVersion=90] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.050 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=90] [2024/05/18 21:51:09.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=90] ["take time"=2.861827ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.055 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=123] [conn=25] [category=ddl] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.057 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=43.126µs] [gotSchemaVersion=91] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.058 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=91] [2024/05/18 21:51:09.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=91] ["take time"=2.687168ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.064 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[120]"] [comment="drop table: table ID"] [2024/05/18 21:51:09.065 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2024/05/18 21:51:09.065 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=123] [conn=25] [job="ID:123, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.069 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=1] [startKey=748000000000000078] [endKey=748000000000000079] [2024/05/18 21:51:09.070 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/18 21:51:09.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.070 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=91] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:09.073 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.073 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:09.078 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=125] [conn=25] [category=ddl] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.080 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=203.61µs] [gotSchemaVersion=92] [phyTblIDs="[124]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:09.082 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=125] [version=92] [2024/05/18 21:51:09.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=92] ["take time"=2.536612ms] [job="ID:125, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.087 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=125] [conn=25] [job="ID:125, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.090 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=125] [2024/05/18 21:51:09.090 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.098 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=92] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:09.100 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:09.100 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:126, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:09.108 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=126] [conn=25] [category=ddl] [job="ID:126, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.110 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=160.403µs] [gotSchemaVersion=93] [phyTblIDs="[124]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.111 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=126] [version=93] [2024/05/18 21:51:09.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=93] ["take time"=2.809588ms] [job="ID:126, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:124, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.118 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=126] [conn=25] [category=ddl] [job="ID:126, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.120 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=268.732µs] [gotSchemaVersion=94] [phyTblIDs="[124]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.121 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=126] [version=94] [2024/05/18 21:51:09.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=94] ["take time"=2.426797ms] [job="ID:126, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:124, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.128 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=126] [conn=25] [category=ddl] [job="ID:126, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.130 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=247.137µs] [gotSchemaVersion=95] [phyTblIDs="[124]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.132 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=126] [version=95] [2024/05/18 21:51:09.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=95] ["take time"=2.314042ms] [job="ID:126, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:124, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.138 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=126] [conn=25] [category=ddl] [job="ID:126, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.139 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=126] [physicalTableID=124] [startKey=74800000000000007c5f728000000000000001] [endKey=74800000000000007c5f72800000000000000100] [2024/05/18 21:51:09.141 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=126] [2024/05/18 21:51:09.147 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=126] [conn=25] [category=ddl] [job="ID:126, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210060111874, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.149 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:126, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:124, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210060111874, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:74800000000000007c5f728000000000000001,EndKey:74800000000000007c5f72800000000000000100,First:false,PhysicalTableID:124,Ingest mode:false"] [2024/05/18 21:51:09.150 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=124] ["start key"=74800000000000007c5f728000000000000001] ["end key"=74800000000000007c5f72800000000000000100] [2024/05/18 21:51:09.150 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007c5f728000000000000001] [endKey=74800000000000007c5f72800000000000000100] [2024/05/18 21:51:09.150 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=124] ["end key"=74800000000000007c5f72800000000000000100] ["current end key"=74800000000000007c5f72800000000000000100] [2024/05/18 21:51:09.150 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=126] [2024/05/18 21:51:09.151 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=126] [2024/05/18 21:51:09.151 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=126] [2024/05/18 21:51:09.151 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp update column"] [task="taskID: 1, physicalTableID: 124, range: [74800000000000007c5f728000000000000001, 74800000000000007c5f72800000000000000100), jobID: 126"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000007c5f7280000000000000010000] ["take time"=449.21µs] [2024/05/18 21:51:09.151 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=126] [2024/05/18 21:51:09.151 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=74800000000000007c5f728000000000000001] [2024/05/18 21:51:09.151 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:09.189 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/18 21:51:09.189 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/18 21:51:09.189 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/18 21:51:09.189 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:09.206 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=190.597µs] [gotSchemaVersion=96] [phyTblIDs="[124]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.207 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=126] [version=96] [2024/05/18 21:51:09.209 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=3.066168ms] [job="ID:126, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:124, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210060111874, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.213 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/18 21:51:09.213 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/18 21:51:09.214 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/18 21:51:09.215 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="modify column"] [2024/05/18 21:51:09.215 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=126] [conn=25] [job="ID:126, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:124, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210060111874, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.215 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/18 21:51:09.215 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/18 21:51:09.215 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/18 21:51:09.215 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/18 21:51:09.221 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=126] [2024/05/18 21:51:09.221 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.223 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=96] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:09.232 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.232 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:09.237 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=127] [conn=25] [category=ddl] [job="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.239 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=78.996µs] [gotSchemaVersion=97] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.240 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=127] [version=97] [2024/05/18 21:51:09.241 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=2.047377ms] [job="ID:127, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:124, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.247 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=127] [conn=25] [category=ddl] [job="ID:127, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.249 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=45.458µs] [gotSchemaVersion=98] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.251 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=127] [version=98] [2024/05/18 21:51:09.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=98] ["take time"=2.111245ms] [job="ID:127, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.255 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=127] [conn=25] [category=ddl] [job="ID:127, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:124, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.257 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=37.034µs] [gotSchemaVersion=99] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.258 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=127] [version=99] [2024/05/18 21:51:09.259 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=2.322852ms] [job="ID:127, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.264 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=127] [tableIDs="[124]"] [comment="drop table: table ID"] [2024/05/18 21:51:09.265 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="drop table"] [2024/05/18 21:51:09.266 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=127] [conn=25] [job="ID:127, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:124, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.269 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=127] [elementID=1] [startKey=74800000000000007c] [endKey=74800000000000007d] [2024/05/18 21:51:09.270 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=127] [2024/05/18 21:51:09.270 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.270 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=99] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:09.273 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.273 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:09.277 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=129] [conn=25] [category=ddl] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.280 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=190.1µs] [gotSchemaVersion=100] [phyTblIDs="[128]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:09.280 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=129] [version=100] [2024/05/18 21:51:09.282 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=2.348025ms] [job="ID:129, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:128, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.286 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=129] [conn=25] [job="ID:129, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.289 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=129] [2024/05/18 21:51:09.289 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.290 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=100] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:09.291 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:09.291 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:09.296 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=130] [conn=25] [category=ddl] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.298 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=228.637µs] [gotSchemaVersion=101] [phyTblIDs="[128]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.299 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=130] [version=101] [2024/05/18 21:51:09.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=101] ["take time"=2.016696ms] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:128, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.305 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=130] [conn=25] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.307 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=174.374µs] [gotSchemaVersion=102] [phyTblIDs="[128]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.308 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=130] [version=102] [2024/05/18 21:51:09.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=102] ["take time"=3.01616ms] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:128, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.315 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=130] [conn=25] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=243.317µs] [gotSchemaVersion=103] [phyTblIDs="[128]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.319 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=130] [version=103] [2024/05/18 21:51:09.320 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=2.571519ms] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:128, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.326 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=130] [conn=25] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.327 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=130] [physicalTableID=128] [startKey=7480000000000000805f728000000000000001] [endKey=7480000000000000805f72800000000000000100] [2024/05/18 21:51:09.329 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=130] [2024/05/18 21:51:09.333 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=130] [conn=25] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210109394945, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.335 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:128, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210109394945, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000805f728000000000000001,EndKey:7480000000000000805f72800000000000000100,First:false,PhysicalTableID:128,Ingest mode:false"] [2024/05/18 21:51:09.336 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=128] ["start key"=7480000000000000805f728000000000000001] ["end key"=7480000000000000805f72800000000000000100] [2024/05/18 21:51:09.336 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000805f728000000000000001] [endKey=7480000000000000805f72800000000000000100] [2024/05/18 21:51:09.336 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=128] ["end key"=7480000000000000805f72800000000000000100] ["current end key"=7480000000000000805f72800000000000000100] [2024/05/18 21:51:09.336 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=130] [2024/05/18 21:51:09.336 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=130] [2024/05/18 21:51:09.336 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=130] [2024/05/18 21:51:09.337 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 128, range: [7480000000000000805f728000000000000001, 7480000000000000805f72800000000000000100), jobID: 130"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000805f7280000000000000010000] ["take time"=513.679µs] [2024/05/18 21:51:09.337 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=130] [2024/05/18 21:51:09.337 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000805f728000000000000001] [2024/05/18 21:51:09.337 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:09.374 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=227.342µs] [gotSchemaVersion=104] [phyTblIDs="[128]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.375 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=130] [version=104] [2024/05/18 21:51:09.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=104] ["take time"=2.948571ms] [job="ID:130, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:128, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210109394945, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.383 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="modify column"] [2024/05/18 21:51:09.383 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=130] [conn=25] [job="ID:130, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:128, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.291 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210109394945, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.389 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=130] [2024/05/18 21:51:09.389 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.390 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=104] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:09.393 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:128, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.393 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:131, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:128, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:09.399 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=131] [conn=25] [category=ddl] [job="ID:131, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.401 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=77.059µs] [gotSchemaVersion=105] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.403 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=131] [version=105] [2024/05/18 21:51:09.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=105] ["take time"=2.939076ms] [job="ID:131, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:128, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.408 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=131] [conn=25] [category=ddl] [job="ID:131, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.410 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=41.862µs] [gotSchemaVersion=106] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.411 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=131] [version=106] [2024/05/18 21:51:09.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=106] ["take time"=2.0563ms] [job="ID:131, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.418 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=131] [conn=25] [category=ddl] [job="ID:131, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:128, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.420 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=41.42µs] [gotSchemaVersion=107] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.421 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=131] [version=107] [2024/05/18 21:51:09.422 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=2.063121ms] [job="ID:131, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.425 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=131] [tableIDs="[128]"] [comment="drop table: table ID"] [2024/05/18 21:51:09.426 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=131] [jobType="drop table"] [2024/05/18 21:51:09.427 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=131] [conn=25] [job="ID:131, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:128, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.430 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=131] [elementID=1] [startKey=748000000000000080] [endKey=748000000000000081] [2024/05/18 21:51:09.431 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=131] [2024/05/18 21:51:09.431 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.431 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=107] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:09.433 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.433 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:09.438 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=133] [conn=25] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.440 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=187.668µs] [gotSchemaVersion=108] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:09.442 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=133] [version=108] [2024/05/18 21:51:09.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=2.305725ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.450 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=133] [conn=25] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.452 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=133] [2024/05/18 21:51:09.452 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.453 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=108] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:09.455 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:09.455 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:134, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:09.458 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=134] [conn=25] [category=ddl] [job="ID:134, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.461 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=258.008µs] [gotSchemaVersion=109] [phyTblIDs="[132]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.462 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=134] [version=109] [2024/05/18 21:51:09.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=109] ["take time"=2.073716ms] [job="ID:134, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:132, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.468 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=134] [conn=25] [category=ddl] [job="ID:134, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.470 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=292.271µs] [gotSchemaVersion=110] [phyTblIDs="[132]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.472 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=134] [version=110] [2024/05/18 21:51:09.473 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=2.745339ms] [job="ID:134, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:132, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.480 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=134] [conn=25] [category=ddl] [job="ID:134, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.482 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=176.922µs] [gotSchemaVersion=111] [phyTblIDs="[132]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.483 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=134] [version=111] [2024/05/18 21:51:09.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=111] ["take time"=2.422992ms] [job="ID:134, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:132, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.490 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=134] [conn=25] [category=ddl] [job="ID:134, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.491 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=134] [physicalTableID=132] [startKey=7480000000000000845f728000000000000001] [endKey=7480000000000000845f72800000000000000100] [2024/05/18 21:51:09.493 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=134] [2024/05/18 21:51:09.498 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=134] [conn=25] [category=ddl] [job="ID:134, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210152386561, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.500 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:134, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:132, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210152386561, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000845f728000000000000001,EndKey:7480000000000000845f72800000000000000100,First:false,PhysicalTableID:132,Ingest mode:false"] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=132] ["start key"=7480000000000000845f728000000000000001] ["end key"=7480000000000000845f72800000000000000100] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000845f728000000000000001] [endKey=7480000000000000845f72800000000000000100] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=132] ["end key"=7480000000000000845f72800000000000000100] ["current end key"=7480000000000000845f72800000000000000100] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=134] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=134] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=134] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 132, range: [7480000000000000845f728000000000000001, 7480000000000000845f72800000000000000100), jobID: 134"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000845f7280000000000000010000] ["take time"=412.814µs] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=134] [2024/05/18 21:51:09.501 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000845f728000000000000001] [2024/05/18 21:51:09.502 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:09.540 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=142.372µs] [gotSchemaVersion=112] [phyTblIDs="[132]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.541 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=134] [version=112] [2024/05/18 21:51:09.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=112] ["take time"=2.753876ms] [job="ID:134, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:132, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210152386561, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.549 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="modify column"] [2024/05/18 21:51:09.549 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=134] [conn=25] [job="ID:134, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:132, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210152386561, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.554 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=134] [2024/05/18 21:51:09.554 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.555 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=112] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:09.557 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.557 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:09.562 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=135] [conn=25] [category=ddl] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.564 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=77.035µs] [gotSchemaVersion=113] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.565 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=135] [version=113] [2024/05/18 21:51:09.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=113] ["take time"=3.080124ms] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:132, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.570 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=135] [conn=25] [category=ddl] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.572 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=42.519µs] [gotSchemaVersion=114] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.573 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=135] [version=114] [2024/05/18 21:51:09.575 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=2.628952ms] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.579 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=135] [conn=25] [category=ddl] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:132, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.581 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=115] ["start time"=47.013µs] [gotSchemaVersion=115] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.582 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=135] [version=115] [2024/05/18 21:51:09.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=115] ["take time"=3.085049ms] [job="ID:135, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.588 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=135] [tableIDs="[132]"] [comment="drop table: table ID"] [2024/05/18 21:51:09.589 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="drop table"] [2024/05/18 21:51:09.589 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=135] [conn=25] [job="ID:135, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:132, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.595 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=135] [2024/05/18 21:51:09.595 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.595 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=115] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:09.596 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=135] [elementID=1] [startKey=748000000000000084] [endKey=748000000000000085] [2024/05/18 21:51:09.597 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.597 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:09.603 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=137] [conn=25] [category=ddl] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.606 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=115] [neededSchemaVersion=116] ["start time"=196.78µs] [gotSchemaVersion=116] [phyTblIDs="[136]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:09.607 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=137] [version=116] [2024/05/18 21:51:09.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=116] ["take time"=2.810425ms] [job="ID:137, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.613 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=137] [conn=25] [job="ID:137, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.616 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=137] [2024/05/18 21:51:09.616 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.618 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=116] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:09.620 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:09.620 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:138, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:09.623 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=138] [conn=25] [category=ddl] [job="ID:138, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.626 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=247.938µs] [gotSchemaVersion=117] [phyTblIDs="[136]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.627 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=138] [version=117] [2024/05/18 21:51:09.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=117] ["take time"=2.03026ms] [job="ID:138, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:136, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.633 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=138] [conn=25] [category=ddl] [job="ID:138, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.636 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=240.932µs] [gotSchemaVersion=118] [phyTblIDs="[136]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.637 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=138] [version=118] [2024/05/18 21:51:09.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=118] ["take time"=2.237471ms] [job="ID:138, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:136, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.645 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=138] [conn=25] [category=ddl] [job="ID:138, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.648 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=234.139µs] [gotSchemaVersion=119] [phyTblIDs="[136]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.649 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=138] [version=119] [2024/05/18 21:51:09.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=119] ["take time"=2.80907ms] [job="ID:138, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:136, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.656 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=138] [conn=25] [category=ddl] [job="ID:138, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.657 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=138] [physicalTableID=136] [startKey=7480000000000000885f728000000000000001] [endKey=7480000000000000885f72800000000000000100] [2024/05/18 21:51:09.660 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=138] [2024/05/18 21:51:09.666 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=138] [conn=25] [category=ddl] [job="ID:138, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210196164608, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.667 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:138, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:136, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210196164608, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000885f728000000000000001,EndKey:7480000000000000885f72800000000000000100,First:false,PhysicalTableID:136,Ingest mode:false"] [2024/05/18 21:51:09.668 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=136] ["start key"=7480000000000000885f728000000000000001] ["end key"=7480000000000000885f72800000000000000100] [2024/05/18 21:51:09.668 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000885f728000000000000001] [endKey=7480000000000000885f72800000000000000100] [2024/05/18 21:51:09.669 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=136] ["end key"=7480000000000000885f72800000000000000100] ["current end key"=7480000000000000885f72800000000000000100] [2024/05/18 21:51:09.669 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=138] [2024/05/18 21:51:09.669 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=138] [2024/05/18 21:51:09.669 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=138] [2024/05/18 21:51:09.669 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 136, range: [7480000000000000885f728000000000000001, 7480000000000000885f72800000000000000100), jobID: 138"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000885f7280000000000000010000] ["take time"=544.653µs] [2024/05/18 21:51:09.669 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=138] [2024/05/18 21:51:09.669 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000885f728000000000000001] [2024/05/18 21:51:09.670 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:09.706 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=219.793µs] [gotSchemaVersion=120] [phyTblIDs="[136]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.708 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=138] [version=120] [2024/05/18 21:51:09.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=120] ["take time"=2.362181ms] [job="ID:138, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:136, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210196164608, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.714 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="modify column"] [2024/05/18 21:51:09.714 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=138] [conn=25] [job="ID:138, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:136, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210196164608, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.719 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=138] [2024/05/18 21:51:09.719 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.720 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=120] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:09.722 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.722 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:09.727 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=139] [conn=25] [category=ddl] [job="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.729 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=73.906µs] [gotSchemaVersion=121] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.730 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=139] [version=121] [2024/05/18 21:51:09.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=121] ["take time"=2.887228ms] [job="ID:139, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:136, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.736 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=139] [conn=25] [category=ddl] [job="ID:139, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.738 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=44.946µs] [gotSchemaVersion=122] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.739 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=139] [version=122] [2024/05/18 21:51:09.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=122] ["take time"=2.014284ms] [job="ID:139, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.744 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=139] [conn=25] [category=ddl] [job="ID:139, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:136, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.746 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=42.715µs] [gotSchemaVersion=123] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.747 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=139] [version=123] [2024/05/18 21:51:09.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=123] ["take time"=2.93684ms] [job="ID:139, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.753 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=139] [tableIDs="[136]"] [comment="drop table: table ID"] [2024/05/18 21:51:09.754 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=139] [jobType="drop table"] [2024/05/18 21:51:09.754 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=139] [conn=25] [job="ID:139, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:136, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.758 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=139] [elementID=1] [startKey=748000000000000088] [endKey=748000000000000089] [2024/05/18 21:51:09.759 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=139] [2024/05/18 21:51:09.759 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.759 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=123] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:09.762 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.762 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:141, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:09.767 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=141] [conn=25] [category=ddl] [job="ID:141, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.770 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=203.597µs] [gotSchemaVersion=124] [phyTblIDs="[140]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:09.771 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=141] [version=124] [2024/05/18 21:51:09.772 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=2.933535ms] [job="ID:141, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:140, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.780 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=141] [conn=25] [job="ID:141, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.783 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=141] [2024/05/18 21:51:09.783 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.784 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=124] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:09.787 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:09.787 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:142, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:09.791 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=142] [conn=25] [category=ddl] [job="ID:142, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.793 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=169.621µs] [gotSchemaVersion=125] [phyTblIDs="[140]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.795 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=142] [version=125] [2024/05/18 21:51:09.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=125] ["take time"=2.151959ms] [job="ID:142, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:140, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.800 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=142] [conn=25] [category=ddl] [job="ID:142, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.803 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=244.255µs] [gotSchemaVersion=126] [phyTblIDs="[140]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.804 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=142] [version=126] [2024/05/18 21:51:09.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=126] ["take time"=2.197271ms] [job="ID:142, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:140, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.810 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=142] [conn=25] [category=ddl] [job="ID:142, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.813 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=262.281µs] [gotSchemaVersion=127] [phyTblIDs="[140]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.814 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=142] [version=127] [2024/05/18 21:51:09.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=127] ["take time"=4.057862ms] [job="ID:142, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:140, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.823 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=142] [conn=25] [category=ddl] [job="ID:142, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.824 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=142] [physicalTableID=140] [startKey=74800000000000008c5f728000000000000001] [endKey=74800000000000008c5f72800000000000000100] [2024/05/18 21:51:09.834 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=142] [2024/05/18 21:51:09.839 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=142] [conn=25] [category=ddl] [job="ID:142, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210239680513, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.841 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:142, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:140, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210239680513, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:74800000000000008c5f728000000000000001,EndKey:74800000000000008c5f72800000000000000100,First:false,PhysicalTableID:140,Ingest mode:false"] [2024/05/18 21:51:09.842 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=140] ["start key"=74800000000000008c5f728000000000000001] ["end key"=74800000000000008c5f72800000000000000100] [2024/05/18 21:51:09.842 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000008c5f728000000000000001] [endKey=74800000000000008c5f72800000000000000100] [2024/05/18 21:51:09.843 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=140] ["end key"=74800000000000008c5f72800000000000000100] ["current end key"=74800000000000008c5f72800000000000000100] [2024/05/18 21:51:09.843 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=142] [2024/05/18 21:51:09.843 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=142] [2024/05/18 21:51:09.843 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=142] [2024/05/18 21:51:09.843 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 140, range: [74800000000000008c5f728000000000000001, 74800000000000008c5f72800000000000000100), jobID: 142"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000008c5f7280000000000000010000] ["take time"=483.612µs] [2024/05/18 21:51:09.843 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=142] [2024/05/18 21:51:09.843 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=74800000000000008c5f728000000000000001] [2024/05/18 21:51:09.844 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:09.886 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=169.616µs] [gotSchemaVersion=128] [phyTblIDs="[140]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.888 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=142] [version=128] [2024/05/18 21:51:09.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=128] ["take time"=2.620236ms] [job="ID:142, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:140, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210239680513, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.894 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="modify column"] [2024/05/18 21:51:09.894 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=142] [conn=25] [job="ID:142, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:140, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210239680513, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.899 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=142] [2024/05/18 21:51:09.899 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.901 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=128] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:09.903 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:140, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.903 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:140, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:09.908 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=143] [conn=25] [category=ddl] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.911 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=68.67µs] [gotSchemaVersion=129] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.912 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=143] [version=129] [2024/05/18 21:51:09.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=129] ["take time"=2.2873ms] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:140, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.916 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=143] [conn=25] [category=ddl] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.918 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=33.605µs] [gotSchemaVersion=130] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.919 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=143] [version=130] [2024/05/18 21:51:09.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=130] ["take time"=2.927888ms] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.925 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=143] [conn=25] [category=ddl] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:140, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.927 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=130] [neededSchemaVersion=131] ["start time"=51.878µs] [gotSchemaVersion=131] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:09.929 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=143] [version=131] [2024/05/18 21:51:09.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=131] ["take time"=2.976104ms] [job="ID:143, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.937 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=143] [tableIDs="[140]"] [comment="drop table: table ID"] [2024/05/18 21:51:09.938 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="drop table"] [2024/05/18 21:51:09.938 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=143] [conn=25] [job="ID:143, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:140, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:09.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.946 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=143] [2024/05/18 21:51:09.946 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.946 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=143] [elementID=1] [startKey=74800000000000008c] [endKey=74800000000000008d] [2024/05/18 21:51:09.947 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=131] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:09.949 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:09.949 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:09.958 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=145] [conn=25] [category=ddl] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.962 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=131] [neededSchemaVersion=132] ["start time"=199.843µs] [gotSchemaVersion=132] [phyTblIDs="[144]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:09.963 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=145] [version=132] [2024/05/18 21:51:09.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=132] ["take time"=2.208814ms] [job="ID:145, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:09.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.970 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=145] [conn=25] [job="ID:145, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:09.973 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=145] [2024/05/18 21:51:09.973 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:09.975 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=132] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:09.977 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:09.977 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:146, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:09.984 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=146] [conn=25] [category=ddl] [job="ID:146, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.985 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=132] [neededSchemaVersion=133] ["start time"=191.844µs] [gotSchemaVersion=133] [phyTblIDs="[144]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:09.987 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=146] [version=133] [2024/05/18 21:51:09.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=133] ["take time"=2.165988ms] [job="ID:146, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.995 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=146] [conn=25] [category=ddl] [job="ID:146, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:09.999 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=133] [neededSchemaVersion=134] ["start time"=243.829µs] [gotSchemaVersion=134] [phyTblIDs="[144]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.000 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=146] [version=134] [2024/05/18 21:51:10.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=134] ["take time"=2.073103ms] [job="ID:146, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.006 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=146] [conn=25] [category=ddl] [job="ID:146, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.008 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=134] [neededSchemaVersion=135] ["start time"=250.9µs] [gotSchemaVersion=135] [phyTblIDs="[144]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.010 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=146] [version=135] [2024/05/18 21:51:10.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=135] ["take time"=2.30635ms] [job="ID:146, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:144, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.016 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=146] [conn=25] [category=ddl] [job="ID:146, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.017 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=146] [physicalTableID=144] [startKey=7480000000000000905f728000000000000001] [endKey=7480000000000000905f72800000000000000100] [2024/05/18 21:51:10.020 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/18 21:51:10.025 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=146] [conn=25] [category=ddl] [job="ID:146, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210290536448, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.026 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:146, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:144, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210290536448, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000905f728000000000000001,EndKey:7480000000000000905f72800000000000000100,First:false,PhysicalTableID:144,Ingest mode:false"] [2024/05/18 21:51:10.027 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=144] ["start key"=7480000000000000905f728000000000000001] ["end key"=7480000000000000905f72800000000000000100] [2024/05/18 21:51:10.027 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000905f728000000000000001] [endKey=7480000000000000905f72800000000000000100] [2024/05/18 21:51:10.028 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=144] ["end key"=7480000000000000905f72800000000000000100] ["current end key"=7480000000000000905f72800000000000000100] [2024/05/18 21:51:10.028 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=146] [2024/05/18 21:51:10.028 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=146] [2024/05/18 21:51:10.028 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=146] [2024/05/18 21:51:10.028 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 144, range: [7480000000000000905f728000000000000001, 7480000000000000905f72800000000000000100), jobID: 146"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000905f7280000000000000010000] ["take time"=383.899µs] [2024/05/18 21:51:10.028 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=146] [2024/05/18 21:51:10.028 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000905f728000000000000001] [2024/05/18 21:51:10.029 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:10.066 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=135] [neededSchemaVersion=136] ["start time"=183.59µs] [gotSchemaVersion=136] [phyTblIDs="[144]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.067 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=146] [version=136] [2024/05/18 21:51:10.068 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=2.843639ms] [job="ID:146, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210290536448, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.075 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="modify column"] [2024/05/18 21:51:10.076 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=146] [conn=25] [job="ID:146, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:144, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:09.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210290536448, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.081 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=146] [2024/05/18 21:51:10.081 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.082 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=136] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:10.085 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.085 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:10.090 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=147] [conn=25] [category=ddl] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.093 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=136] [neededSchemaVersion=137] ["start time"=58.953µs] [gotSchemaVersion=137] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.094 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=147] [version=137] [2024/05/18 21:51:10.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=137] ["take time"=2.733143ms] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.101 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=147] [conn=25] [category=ddl] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=137] [neededSchemaVersion=138] ["start time"=102.174µs] [gotSchemaVersion=138] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.104 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=147] [version=138] [2024/05/18 21:51:10.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=138] ["take time"=2.441705ms] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.110 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=147] [conn=25] [category=ddl] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.112 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=138] [neededSchemaVersion=139] ["start time"=44.705µs] [gotSchemaVersion=139] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.113 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=147] [version=139] [2024/05/18 21:51:10.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=139] ["take time"=4.384545ms] [job="ID:147, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.120 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=147] [tableIDs="[144]"] [comment="drop table: table ID"] [2024/05/18 21:51:10.121 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=147] [jobType="drop table"] [2024/05/18 21:51:10.121 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=147] [conn=25] [job="ID:147, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.126 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=147] [elementID=1] [startKey=748000000000000090] [endKey=748000000000000091] [2024/05/18 21:51:10.127 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=147] [2024/05/18 21:51:10.127 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.127 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=139] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:10.130 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.130 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:10.136 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=149] [conn=25] [category=ddl] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.140 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=139] [neededSchemaVersion=140] ["start time"=194.371µs] [gotSchemaVersion=140] [phyTblIDs="[148]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:10.141 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=149] [version=140] [2024/05/18 21:51:10.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=140] ["take time"=2.326373ms] [job="ID:149, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.147 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=149] [conn=25] [job="ID:149, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.149 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=149] [2024/05/18 21:51:10.150 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.151 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=140] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:10.153 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:10.153 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:150, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:10.160 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=150] [conn=25] [category=ddl] [job="ID:150, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.165 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=140] [neededSchemaVersion=141] ["start time"=308.714µs] [gotSchemaVersion=141] [phyTblIDs="[148]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.166 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=150] [version=141] [2024/05/18 21:51:10.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=141] ["take time"=2.057071ms] [job="ID:150, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:148, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.173 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=150] [conn=25] [category=ddl] [job="ID:150, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.176 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=141] [neededSchemaVersion=142] ["start time"=266.548µs] [gotSchemaVersion=142] [phyTblIDs="[148]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.177 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=150] [version=142] [2024/05/18 21:51:10.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=142] ["take time"=2.53523ms] [job="ID:150, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:148, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.184 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=150] [conn=25] [category=ddl] [job="ID:150, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.186 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/18 21:51:10.189 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=142] [neededSchemaVersion=143] ["start time"=252.918µs] [gotSchemaVersion=143] [phyTblIDs="[148]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.190 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=150] [version=143] [2024/05/18 21:51:10.192 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=3.507617ms] [job="ID:150, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:148, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.202 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=150] [conn=25] [category=ddl] [job="ID:150, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.203 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=150] [physicalTableID=148] [startKey=7480000000000000945f728000000000000001] [endKey=7480000000000000945f72800000000000000100] [2024/05/18 21:51:10.208 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=150] [2024/05/18 21:51:10.214 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=150] [conn=25] [category=ddl] [job="ID:150, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210339295232, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.216 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:150, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:148, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210339295232, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000945f728000000000000001,EndKey:7480000000000000945f72800000000000000100,First:false,PhysicalTableID:148,Ingest mode:false"] [2024/05/18 21:51:10.217 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=148] ["start key"=7480000000000000945f728000000000000001] ["end key"=7480000000000000945f72800000000000000100] [2024/05/18 21:51:10.217 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000945f728000000000000001] [endKey=7480000000000000945f72800000000000000100] [2024/05/18 21:51:10.218 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=148] ["end key"=7480000000000000945f72800000000000000100] ["current end key"=7480000000000000945f72800000000000000100] [2024/05/18 21:51:10.218 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 148, range: [7480000000000000945f728000000000000001, 7480000000000000945f72800000000000000100), jobID: 150"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000945f7280000000000000010000] ["take time"=460.237µs] [2024/05/18 21:51:10.218 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=150] [2024/05/18 21:51:10.218 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=150] [2024/05/18 21:51:10.218 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=150] [2024/05/18 21:51:10.218 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=150] [2024/05/18 21:51:10.218 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000945f728000000000000001] [2024/05/18 21:51:10.219 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:10.255 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=143] [neededSchemaVersion=144] ["start time"=175.057µs] [gotSchemaVersion=144] [phyTblIDs="[148]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.256 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=150] [version=144] [2024/05/18 21:51:10.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=144] ["take time"=2.175232ms] [job="ID:150, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:148, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210339295232, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.264 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="modify column"] [2024/05/18 21:51:10.264 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=150] [conn=25] [job="ID:150, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:148, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.152 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210339295232, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.271 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=150] [2024/05/18 21:51:10.271 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.273 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=144] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:10.275 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:151, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.275 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:151, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:10.280 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=151] [conn=25] [category=ddl] [job="ID:151, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.282 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=144] [neededSchemaVersion=145] ["start time"=93.966µs] [gotSchemaVersion=145] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.284 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=151] [version=145] [2024/05/18 21:51:10.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=145] ["take time"=8.541445ms] [job="ID:151, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:148, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.310 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=151] [conn=25] [category=ddl] [job="ID:151, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.312 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=145] [neededSchemaVersion=146] ["start time"=37.139µs] [gotSchemaVersion=146] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.313 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=151] [version=146] [2024/05/18 21:51:10.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=146] ["take time"=2.811272ms] [job="ID:151, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.320 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=151] [conn=25] [category=ddl] [job="ID:151, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:148, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.322 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=146] [neededSchemaVersion=147] ["start time"=51.182µs] [gotSchemaVersion=147] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.323 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=151] [version=147] [2024/05/18 21:51:10.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=147] ["take time"=2.747282ms] [job="ID:151, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.329 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=151] [tableIDs="[148]"] [comment="drop table: table ID"] [2024/05/18 21:51:10.330 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=151] [jobType="drop table"] [2024/05/18 21:51:10.331 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=151] [conn=25] [job="ID:151, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:148, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.334 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=151] [elementID=1] [startKey=748000000000000094] [endKey=748000000000000095] [2024/05/18 21:51:10.335 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=151] [2024/05/18 21:51:10.335 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.336 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=147] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:10.338 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.338 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:153, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:10.345 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=153] [conn=25] [category=ddl] [job="ID:153, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.347 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=147] [neededSchemaVersion=148] ["start time"=191.343µs] [gotSchemaVersion=148] [phyTblIDs="[152]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:10.349 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=153] [version=148] [2024/05/18 21:51:10.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=148] ["take time"=2.034778ms] [job="ID:153, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:152, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.354 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=153] [conn=25] [job="ID:153, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.357 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=153] [2024/05/18 21:51:10.357 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.358 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=148] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:10.360 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:10.360 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:154, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:10.365 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=154] [conn=25] [category=ddl] [job="ID:154, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.368 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=148] [neededSchemaVersion=149] ["start time"=258.578µs] [gotSchemaVersion=149] [phyTblIDs="[152]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.370 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=154] [version=149] [2024/05/18 21:51:10.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=149] ["take time"=4.337722ms] [job="ID:154, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:152, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.378 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=154] [conn=25] [category=ddl] [job="ID:154, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.380 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=149] [neededSchemaVersion=150] ["start time"=259.103µs] [gotSchemaVersion=150] [phyTblIDs="[152]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.381 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=154] [version=150] [2024/05/18 21:51:10.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=150] ["take time"=2.919155ms] [job="ID:154, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:152, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.390 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=154] [conn=25] [category=ddl] [job="ID:154, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.392 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=150] [neededSchemaVersion=151] ["start time"=228.885µs] [gotSchemaVersion=151] [phyTblIDs="[152]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.393 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=154] [version=151] [2024/05/18 21:51:10.394 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=2.65695ms] [job="ID:154, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:152, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.400 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=154] [conn=25] [category=ddl] [job="ID:154, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.401 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=154] [physicalTableID=152] [startKey=7480000000000000985f728000000000000001] [endKey=7480000000000000985f72800000000000000100] [2024/05/18 21:51:10.404 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=154] [2024/05/18 21:51:10.410 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=154] [conn=25] [category=ddl] [job="ID:154, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210391199744, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.412 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:154, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:152, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210391199744, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000985f728000000000000001,EndKey:7480000000000000985f72800000000000000100,First:false,PhysicalTableID:152,Ingest mode:false"] [2024/05/18 21:51:10.413 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=152] ["start key"=7480000000000000985f728000000000000001] ["end key"=7480000000000000985f72800000000000000100] [2024/05/18 21:51:10.413 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000985f728000000000000001] [endKey=7480000000000000985f72800000000000000100] [2024/05/18 21:51:10.414 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=152] ["end key"=7480000000000000985f72800000000000000100] ["current end key"=7480000000000000985f72800000000000000100] [2024/05/18 21:51:10.414 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=154] [2024/05/18 21:51:10.414 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp update column"] [task="taskID: 1, physicalTableID: 152, range: [7480000000000000985f728000000000000001, 7480000000000000985f72800000000000000100), jobID: 154"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000985f7280000000000000010000] ["take time"=460.89µs] [2024/05/18 21:51:10.414 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=154] [2024/05/18 21:51:10.414 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=154] [2024/05/18 21:51:10.414 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=154] [2024/05/18 21:51:10.414 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000985f728000000000000001] [2024/05/18 21:51:10.415 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:10.450 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=151] [neededSchemaVersion=152] ["start time"=216.908µs] [gotSchemaVersion=152] [phyTblIDs="[152]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.451 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=154] [version=152] [2024/05/18 21:51:10.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=152] ["take time"=2.20715ms] [job="ID:154, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:152, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210391199744, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.458 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=154] [jobType="modify column"] [2024/05/18 21:51:10.459 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=154] [conn=25] [job="ID:154, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:152, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210391199744, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.463 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=154] [2024/05/18 21:51:10.463 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.464 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=152] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:10.466 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:152, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.466 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:152, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:10.470 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=155] [conn=25] [category=ddl] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.473 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=152] [neededSchemaVersion=153] ["start time"=80.854µs] [gotSchemaVersion=153] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.474 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=155] [version=153] [2024/05/18 21:51:10.474 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=2.016405ms] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:152, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.479 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=155] [conn=25] [category=ddl] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.481 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=153] [neededSchemaVersion=154] ["start time"=45.718µs] [gotSchemaVersion=154] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.482 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=155] [version=154] [2024/05/18 21:51:10.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=154] ["take time"=2.779622ms] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.487 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=155] [conn=25] [category=ddl] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:152, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.490 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=154] [neededSchemaVersion=155] ["start time"=42.304µs] [gotSchemaVersion=155] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.491 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=155] [version=155] [2024/05/18 21:51:10.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=155] ["take time"=2.387496ms] [job="ID:155, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.496 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=155] [tableIDs="[152]"] [comment="drop table: table ID"] [2024/05/18 21:51:10.497 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=155] [jobType="drop table"] [2024/05/18 21:51:10.497 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=155] [conn=25] [job="ID:155, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:152, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.501 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=155] [2024/05/18 21:51:10.501 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.502 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=155] [elementID=1] [startKey=748000000000000098] [endKey=748000000000000099] [2024/05/18 21:51:10.502 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=155] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:10.504 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.504 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:10.509 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=157] [conn=25] [category=ddl] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.512 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=155] [neededSchemaVersion=156] ["start time"=196.039µs] [gotSchemaVersion=156] [phyTblIDs="[156]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:10.513 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=157] [version=156] [2024/05/18 21:51:10.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=156] ["take time"=2.298232ms] [job="ID:157, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.519 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=157] [conn=25] [job="ID:157, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.522 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=157] [2024/05/18 21:51:10.522 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.523 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=156] [cur_db=test] [sql="alter table t_mc modify a date"] [user=] [2024/05/18 21:51:10.526 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:10.526 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:158, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a date"] [2024/05/18 21:51:10.533 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=158] [conn=25] [category=ddl] [job="ID:158, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.536 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=156] [neededSchemaVersion=157] ["start time"=261.052µs] [gotSchemaVersion=157] [phyTblIDs="[156]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.537 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=158] [version=157] [2024/05/18 21:51:10.537 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=2.015492ms] [job="ID:158, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:156, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.546 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=158] [conn=25] [category=ddl] [job="ID:158, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.549 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=157] [neededSchemaVersion=158] ["start time"=249.755µs] [gotSchemaVersion=158] [phyTblIDs="[156]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.550 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=158] [version=158] [2024/05/18 21:51:10.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=158] ["take time"=2.251658ms] [job="ID:158, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:156, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.557 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=158] [conn=25] [category=ddl] [job="ID:158, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.559 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=158] [neededSchemaVersion=159] ["start time"=245.39µs] [gotSchemaVersion=159] [phyTblIDs="[156]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.561 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=158] [version=159] [2024/05/18 21:51:10.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=159] ["take time"=2.720817ms] [job="ID:158, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:156, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.569 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=158] [conn=25] [category=ddl] [job="ID:158, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.570 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=158] [physicalTableID=156] [startKey=74800000000000009c5f728000000000000001] [endKey=74800000000000009c5f72800000000000000100] [2024/05/18 21:51:10.574 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=158] [2024/05/18 21:51:10.580 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=158] [conn=25] [category=ddl] [job="ID:158, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210435239937, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.582 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:158, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:156, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210435239937, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:74800000000000009c5f728000000000000001,EndKey:74800000000000009c5f72800000000000000100,First:false,PhysicalTableID:156,Ingest mode:false"] [2024/05/18 21:51:10.583 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=156] ["start key"=74800000000000009c5f728000000000000001] ["end key"=74800000000000009c5f72800000000000000100] [2024/05/18 21:51:10.583 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000009c5f728000000000000001] [endKey=74800000000000009c5f72800000000000000100] [2024/05/18 21:51:10.583 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=156] ["end key"=74800000000000009c5f72800000000000000100] ["current end key"=74800000000000009c5f72800000000000000100] [2024/05/18 21:51:10.584 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=158] [2024/05/18 21:51:10.584 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=158] [2024/05/18 21:51:10.584 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=158] [2024/05/18 21:51:10.584 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 156, range: [74800000000000009c5f728000000000000001, 74800000000000009c5f72800000000000000100), jobID: 158"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000009c5f7280000000000000010000] ["take time"=345.587µs] [2024/05/18 21:51:10.584 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=158] [2024/05/18 21:51:10.584 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=74800000000000009c5f728000000000000001] [2024/05/18 21:51:10.584 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:10.621 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=159] [neededSchemaVersion=160] ["start time"=177.405µs] [gotSchemaVersion=160] [phyTblIDs="[156]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.622 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=158] [version=160] [2024/05/18 21:51:10.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=160] ["take time"=2.454117ms] [job="ID:158, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:156, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210435239937, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.629 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="modify column"] [2024/05/18 21:51:10.629 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=158] [conn=25] [job="ID:158, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:156, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210435239937, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.634 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=158] [2024/05/18 21:51:10.634 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.636 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=160] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:10.639 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.639 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:10.648 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=159] [conn=25] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.650 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=160] [neededSchemaVersion=161] ["start time"=74.243µs] [gotSchemaVersion=161] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.651 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=159] [version=161] [2024/05/18 21:51:10.652 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=2.054768ms] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:156, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.657 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=159] [conn=25] [category=ddl] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.662 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=161] [neededSchemaVersion=162] ["start time"=71.226µs] [gotSchemaVersion=162] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.663 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=159] [version=162] [2024/05/18 21:51:10.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=162] ["take time"=2.800895ms] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.669 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=159] [conn=25] [category=ddl] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:156, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.671 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=162] [neededSchemaVersion=163] ["start time"=29.48µs] [gotSchemaVersion=163] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.672 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=159] [version=163] [2024/05/18 21:51:10.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=163] ["take time"=3.61069ms] [job="ID:159, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.679 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=159] [tableIDs="[156]"] [comment="drop table: table ID"] [2024/05/18 21:51:10.680 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=159] [jobType="drop table"] [2024/05/18 21:51:10.680 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=159] [conn=25] [job="ID:159, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:156, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.684 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=159] [elementID=1] [startKey=74800000000000009c] [endKey=74800000000000009d] [2024/05/18 21:51:10.684 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=159] [2024/05/18 21:51:10.685 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.685 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=163] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:10.687 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.687 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:10.693 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=161] [conn=25] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.696 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=163] [neededSchemaVersion=164] ["start time"=193.845µs] [gotSchemaVersion=164] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:10.697 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=161] [version=164] [2024/05/18 21:51:10.697 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=2.013181ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.703 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=161] [conn=25] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.686 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.706 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=161] [2024/05/18 21:51:10.706 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.708 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=164] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:10.711 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:10.711 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:162, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:10.718 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=162] [conn=25] [category=ddl] [job="ID:162, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.720 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=164] [neededSchemaVersion=165] ["start time"=180.665µs] [gotSchemaVersion=165] [phyTblIDs="[160]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.721 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=162] [version=165] [2024/05/18 21:51:10.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=165] ["take time"=2.508008ms] [job="ID:162, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:160, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.729 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=162] [conn=25] [category=ddl] [job="ID:162, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.732 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=165] [neededSchemaVersion=166] ["start time"=246.457µs] [gotSchemaVersion=166] [phyTblIDs="[160]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.733 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=162] [version=166] [2024/05/18 21:51:10.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=166] ["take time"=2.293486ms] [job="ID:162, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:160, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.741 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=162] [conn=25] [category=ddl] [job="ID:162, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.744 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=166] [neededSchemaVersion=167] ["start time"=249.101µs] [gotSchemaVersion=167] [phyTblIDs="[160]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.745 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=162] [version=167] [2024/05/18 21:51:10.749 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=4.944966ms] [job="ID:162, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:160, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.755 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=162] [conn=25] [category=ddl] [job="ID:162, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.756 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=162] [physicalTableID=160] [startKey=7480000000000000a05f728000000000000001] [endKey=7480000000000000a05f72800000000000000100] [2024/05/18 21:51:10.759 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=162] [2024/05/18 21:51:10.765 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=162] [conn=25] [category=ddl] [job="ID:162, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210483998721, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.767 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:162, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:160, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210483998721, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000a05f728000000000000001,EndKey:7480000000000000a05f72800000000000000100,First:false,PhysicalTableID:160,Ingest mode:false"] [2024/05/18 21:51:10.768 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=160] ["start key"=7480000000000000a05f728000000000000001] ["end key"=7480000000000000a05f72800000000000000100] [2024/05/18 21:51:10.768 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000a05f728000000000000001] [endKey=7480000000000000a05f72800000000000000100] [2024/05/18 21:51:10.768 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=160] ["end key"=7480000000000000a05f72800000000000000100] ["current end key"=7480000000000000a05f72800000000000000100] [2024/05/18 21:51:10.768 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=162] [2024/05/18 21:51:10.769 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 160, range: [7480000000000000a05f728000000000000001, 7480000000000000a05f72800000000000000100), jobID: 162"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000a05f7280000000000000010000] ["take time"=675.803µs] [2024/05/18 21:51:10.769 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=162] [2024/05/18 21:51:10.769 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=162] [2024/05/18 21:51:10.769 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=162] [2024/05/18 21:51:10.769 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000a05f728000000000000001] [2024/05/18 21:51:10.769 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:10.809 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=167] [neededSchemaVersion=168] ["start time"=239.392µs] [gotSchemaVersion=168] [phyTblIDs="[160]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.810 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=162] [version=168] [2024/05/18 21:51:10.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=168] ["take time"=2.504661ms] [job="ID:162, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210483998721, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.818 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=162] [jobType="modify column"] [2024/05/18 21:51:10.818 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=162] [conn=25] [job="ID:162, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:160, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210483998721, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.825 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=162] [2024/05/18 21:51:10.825 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.827 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=168] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:10.829 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.829 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:10.834 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=163] [conn=25] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.837 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=168] [neededSchemaVersion=169] ["start time"=100.365µs] [gotSchemaVersion=169] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.838 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=163] [version=169] [2024/05/18 21:51:10.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=169] ["take time"=2.008493ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:160, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.843 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=163] [conn=25] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.845 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=169] [neededSchemaVersion=170] ["start time"=36.761µs] [gotSchemaVersion=170] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.846 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=163] [version=170] [2024/05/18 21:51:10.847 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=2.60198ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.853 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=163] [conn=25] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.857 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=170] [neededSchemaVersion=171] ["start time"=40.903µs] [gotSchemaVersion=171] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:10.858 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=163] [version=171] [2024/05/18 21:51:10.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=171] ["take time"=3.554545ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.865 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[160]"] [comment="drop table: table ID"] [2024/05/18 21:51:10.867 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2024/05/18 21:51:10.867 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=163] [conn=25] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:10.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.872 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=163] [2024/05/18 21:51:10.872 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.873 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=171] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:10.875 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:10.875 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:10.876 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=163] [elementID=1] [startKey=7480000000000000a0] [endKey=7480000000000000a1] [2024/05/18 21:51:10.881 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=165] [conn=25] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.884 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=171] [neededSchemaVersion=172] ["start time"=170.042µs] [gotSchemaVersion=172] [phyTblIDs="[164]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:10.885 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=165] [version=172] [2024/05/18 21:51:10.886 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=2.319731ms] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:10.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.894 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=165] [conn=25] [job="ID:165, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.874 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:10.897 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=165] [2024/05/18 21:51:10.897 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:10.898 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=172] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:10.900 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:10.900 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:166, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:10.904 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=166] [conn=25] [category=ddl] [job="ID:166, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.907 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=172] [neededSchemaVersion=173] ["start time"=193.655µs] [gotSchemaVersion=173] [phyTblIDs="[164]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.908 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=166] [version=173] [2024/05/18 21:51:10.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=173] ["take time"=2.831811ms] [job="ID:166, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.916 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=166] [conn=25] [category=ddl] [job="ID:166, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=173] [neededSchemaVersion=174] ["start time"=257.121µs] [gotSchemaVersion=174] [phyTblIDs="[164]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.920 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=166] [version=174] [2024/05/18 21:51:10.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=174] ["take time"=2.704164ms] [job="ID:166, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.928 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=166] [conn=25] [category=ddl] [job="ID:166, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.930 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=174] [neededSchemaVersion=175] ["start time"=199.183µs] [gotSchemaVersion=175] [phyTblIDs="[164]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.931 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=166] [version=175] [2024/05/18 21:51:10.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=175] ["take time"=2.167891ms] [job="ID:166, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:164, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.939 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=166] [conn=25] [category=ddl] [job="ID:166, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.939 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=166] [physicalTableID=164] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000100] [2024/05/18 21:51:10.942 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=166] [2024/05/18 21:51:10.948 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=166] [conn=25] [category=ddl] [job="ID:166, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210532233217, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.950 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:166, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:164, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210532233217, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000a45f728000000000000001,EndKey:7480000000000000a45f72800000000000000100,First:false,PhysicalTableID:164,Ingest mode:false"] [2024/05/18 21:51:10.951 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=164] ["start key"=7480000000000000a45f728000000000000001] ["end key"=7480000000000000a45f72800000000000000100] [2024/05/18 21:51:10.951 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000100] [2024/05/18 21:51:10.951 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=164] ["end key"=7480000000000000a45f72800000000000000100] ["current end key"=7480000000000000a45f72800000000000000100] [2024/05/18 21:51:10.951 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=166] [2024/05/18 21:51:10.951 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=166] [2024/05/18 21:51:10.951 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=166] [2024/05/18 21:51:10.952 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 164, range: [7480000000000000a45f728000000000000001, 7480000000000000a45f72800000000000000100), jobID: 166"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000a45f7280000000000000010000] ["take time"=510.982µs] [2024/05/18 21:51:10.952 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=166] [2024/05/18 21:51:10.952 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000a45f728000000000000001] [2024/05/18 21:51:10.952 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:10.986 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=175] [neededSchemaVersion=176] ["start time"=204.827µs] [gotSchemaVersion=176] [phyTblIDs="[164]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:10.987 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=166] [version=176] [2024/05/18 21:51:10.988 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=2.011732ms] [job="ID:166, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210532233217, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:10.996 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=166] [jobType="modify column"] [2024/05/18 21:51:10.997 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=166] [conn=25] [job="ID:166, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:164, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210532233217, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.003 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=166] [2024/05/18 21:51:11.003 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.005 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=176] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:11.007 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.007 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:11.013 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=167] [conn=25] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.015 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=176] [neededSchemaVersion=177] ["start time"=82.092µs] [gotSchemaVersion=177] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.016 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=167] [version=177] [2024/05/18 21:51:11.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=177] ["take time"=2.043943ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.020 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=167] [conn=25] [category=ddl] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.022 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=177] [neededSchemaVersion=178] ["start time"=46.316µs] [gotSchemaVersion=178] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.023 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=167] [version=178] [2024/05/18 21:51:11.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=178] ["take time"=2.936857ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.029 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=167] [conn=25] [category=ddl] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.031 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=178] [neededSchemaVersion=179] ["start time"=48.486µs] [gotSchemaVersion=179] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.032 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=167] [version=179] [2024/05/18 21:51:11.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=179] ["take time"=2.275587ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.037 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=167] [tableIDs="[164]"] [comment="drop table: table ID"] [2024/05/18 21:51:11.038 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2024/05/18 21:51:11.038 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=167] [conn=25] [job="ID:167, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.006 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.042 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=167] [elementID=1] [startKey=7480000000000000a4] [endKey=7480000000000000a5] [2024/05/18 21:51:11.043 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=167] [2024/05/18 21:51:11.043 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.044 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=179] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:11.046 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.046 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:11.051 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=169] [conn=25] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.055 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=179] [neededSchemaVersion=180] ["start time"=201.538µs] [gotSchemaVersion=180] [phyTblIDs="[168]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:11.056 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=169] [version=180] [2024/05/18 21:51:11.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=180] ["take time"=2.295937ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.062 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=169] [conn=25] [job="ID:169, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.066 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=169] [2024/05/18 21:51:11.066 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.067 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=180] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:11.070 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:11.070 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:170, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:11.077 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=170] [conn=25] [category=ddl] [job="ID:170, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.079 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=180] [neededSchemaVersion=181] ["start time"=247.61µs] [gotSchemaVersion=181] [phyTblIDs="[168]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.081 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=170] [version=181] [2024/05/18 21:51:11.082 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=3.380168ms] [job="ID:170, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:168, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.089 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=170] [conn=25] [category=ddl] [job="ID:170, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.091 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=181] [neededSchemaVersion=182] ["start time"=259.175µs] [gotSchemaVersion=182] [phyTblIDs="[168]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.092 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=170] [version=182] [2024/05/18 21:51:11.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=182] ["take time"=2.618755ms] [job="ID:170, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:168, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.099 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=170] [conn=25] [category=ddl] [job="ID:170, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=182] [neededSchemaVersion=183] ["start time"=243.517µs] [gotSchemaVersion=183] [phyTblIDs="[168]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.104 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=170] [version=183] [2024/05/18 21:51:11.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=183] ["take time"=2.590935ms] [job="ID:170, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:168, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.120 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=170] [conn=25] [category=ddl] [job="ID:170, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.120 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=170] [physicalTableID=168] [startKey=7480000000000000a85f728000000000000001] [endKey=7480000000000000a85f72800000000000000100] [2024/05/18 21:51:11.123 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=170] [2024/05/18 21:51:11.129 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=170] [conn=25] [category=ddl] [job="ID:170, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210579681280, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.131 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:170, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:168, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210579681280, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000a85f728000000000000001,EndKey:7480000000000000a85f72800000000000000100,First:false,PhysicalTableID:168,Ingest mode:false"] [2024/05/18 21:51:11.132 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=168] ["start key"=7480000000000000a85f728000000000000001] ["end key"=7480000000000000a85f72800000000000000100] [2024/05/18 21:51:11.132 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000a85f728000000000000001] [endKey=7480000000000000a85f72800000000000000100] [2024/05/18 21:51:11.133 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=168] ["end key"=7480000000000000a85f72800000000000000100] ["current end key"=7480000000000000a85f72800000000000000100] [2024/05/18 21:51:11.133 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 168, range: [7480000000000000a85f728000000000000001, 7480000000000000a85f72800000000000000100), jobID: 170"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000a85f7280000000000000010000] ["take time"=440.496µs] [2024/05/18 21:51:11.133 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=170] [2024/05/18 21:51:11.133 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=170] [2024/05/18 21:51:11.133 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=170] [2024/05/18 21:51:11.133 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=170] [2024/05/18 21:51:11.133 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000a85f728000000000000001] [2024/05/18 21:51:11.134 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:11.183 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=183] [neededSchemaVersion=184] ["start time"=240.921µs] [gotSchemaVersion=184] [phyTblIDs="[168]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.184 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=170] [version=184] [2024/05/18 21:51:11.185 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=2.73431ms] [job="ID:170, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210579681280, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.192 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=170] [jobType="modify column"] [2024/05/18 21:51:11.192 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=170] [conn=25] [job="ID:170, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:168, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.069 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210579681280, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.198 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=170] [2024/05/18 21:51:11.198 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.199 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=184] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:11.201 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:171, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.201 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:171, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:11.207 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=171] [conn=25] [category=ddl] [job="ID:171, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.210 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=184] [neededSchemaVersion=185] ["start time"=129.156µs] [gotSchemaVersion=185] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.212 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=171] [version=185] [2024/05/18 21:51: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=185] ["take time"=2.010677ms] [job="ID:171, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:168, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.218 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=171] [conn=25] [category=ddl] [job="ID:171, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.220 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=185] [neededSchemaVersion=186] ["start time"=35.161µs] [gotSchemaVersion=186] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.221 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=171] [version=186] [2024/05/18 21:51:11.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=186] ["take time"=3.072208ms] [job="ID:171, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.227 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=171] [conn=25] [category=ddl] [job="ID:171, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.229 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=186] [neededSchemaVersion=187] ["start time"=52.491µs] [gotSchemaVersion=187] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.230 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=171] [version=187] [2024/05/18 21:51:11.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=187] ["take time"=2.067599ms] [job="ID:171, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.236 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=171] [tableIDs="[168]"] [comment="drop table: table ID"] [2024/05/18 21:51:11.237 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=171] [jobType="drop table"] [2024/05/18 21:51:11.237 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=171] [conn=25] [job="ID:171, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.241 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=171] [elementID=1] [startKey=7480000000000000a8] [endKey=7480000000000000a9] [2024/05/18 21:51:11.242 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=171] [2024/05/18 21:51:11.242 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.243 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=187] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:11.245 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.245 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:173, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:11.249 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=173] [conn=25] [category=ddl] [job="ID:173, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.252 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=187] [neededSchemaVersion=188] ["start time"=125.793µs] [gotSchemaVersion=188] [phyTblIDs="[172]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:11.253 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=173] [version=188] [2024/05/18 21:51:11.254 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=2.722859ms] [job="ID:173, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.258 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=173] [conn=25] [job="ID:173, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.261 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=173] [2024/05/18 21:51:11.261 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.262 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=188] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:11.265 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:174, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:11.265 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:174, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:11.272 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=174] [conn=25] [category=ddl] [job="ID:174, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.275 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=188] [neededSchemaVersion=189] ["start time"=213.888µs] [gotSchemaVersion=189] [phyTblIDs="[172]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.276 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=174] [version=189] [2024/05/18 21:51:11.277 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=189] ["take time"=2.34313ms] [job="ID:174, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.283 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=174] [conn=25] [category=ddl] [job="ID:174, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.286 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=189] [neededSchemaVersion=190] ["start time"=266.607µs] [gotSchemaVersion=190] [phyTblIDs="[172]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.287 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=174] [version=190] [2024/05/18 21:51:11.288 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=190] ["take time"=2.202745ms] [job="ID:174, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.292 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=174] [conn=25] [category=ddl] [job="ID:174, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.306 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=190] [neededSchemaVersion=191] ["start time"=276.132µs] [gotSchemaVersion=191] [phyTblIDs="[172]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.307 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=174] [version=191] [2024/05/18 21:51: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=191] ["take time"=2.506705ms] [job="ID:174, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:172, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.315 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=174] [conn=25] [category=ddl] [job="ID:174, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.316 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=174] [physicalTableID=172] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000100] [2024/05/18 21:51:11.319 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=174] [2024/05/18 21:51:11.325 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=174] [conn=25] [category=ddl] [job="ID:174, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210630799361, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.327 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:174, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:172, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210630799361, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000ac5f728000000000000001,EndKey:7480000000000000ac5f72800000000000000100,First:false,PhysicalTableID:172,Ingest mode:false"] [2024/05/18 21:51:11.328 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=172] ["start key"=7480000000000000ac5f728000000000000001] ["end key"=7480000000000000ac5f72800000000000000100] [2024/05/18 21:51:11.328 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000100] [2024/05/18 21:51:11.329 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=172] ["end key"=7480000000000000ac5f72800000000000000100] ["current end key"=7480000000000000ac5f72800000000000000100] [2024/05/18 21:51:11.329 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=174] [2024/05/18 21:51:11.329 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=174] [2024/05/18 21:51:11.329 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=174] [2024/05/18 21:51:11.337 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 172, range: [7480000000000000ac5f728000000000000001, 7480000000000000ac5f72800000000000000100), jobID: 174"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000ac5f7280000000000000010000] ["take time"=7.733714ms] [2024/05/18 21:51:11.337 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=174] [2024/05/18 21:51:11.337 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000ac5f728000000000000001] [2024/05/18 21:51:11.337 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:11.380 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=191] [neededSchemaVersion=192] ["start time"=210.503µs] [gotSchemaVersion=192] [phyTblIDs="[172]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.381 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=174] [version=192] [2024/05/18 21:51:11.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=192] ["take time"=3.081185ms] [job="ID:174, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:172, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210630799361, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.390 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=174] [jobType="modify column"] [2024/05/18 21:51:11.390 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=174] [conn=25] [job="ID:174, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:172, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210630799361, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.401 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=174] [2024/05/18 21:51:11.401 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.402 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=192] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:11.405 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.405 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:175, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:11.410 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=175] [conn=25] [category=ddl] [job="ID:175, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.412 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=192] [neededSchemaVersion=193] ["start time"=82.207µs] [gotSchemaVersion=193] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.413 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=175] [version=193] [2024/05/18 21:51: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=193] ["take time"=2.291002ms] [job="ID:175, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.420 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=175] [conn=25] [category=ddl] [job="ID:175, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.422 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=193] [neededSchemaVersion=194] ["start time"=49.082µs] [gotSchemaVersion=194] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.423 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=175] [version=194] [2024/05/18 21:51:11.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=194] ["take time"=3.031641ms] [job="ID:175, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.431 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=175] [conn=25] [category=ddl] [job="ID:175, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.433 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=194] [neededSchemaVersion=195] ["start time"=77.405µs] [gotSchemaVersion=195] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.434 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=175] [version=195] [2024/05/18 21:51:11.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=195] ["take time"=2.021034ms] [job="ID:175, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.438 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=175] [tableIDs="[172]"] [comment="drop table: table ID"] [2024/05/18 21:51:11.439 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=175] [jobType="drop table"] [2024/05/18 21:51:11.440 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=175] [conn=25] [job="ID:175, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.446 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=175] [2024/05/18 21:51:11.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.446 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=195] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:11.449 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.449 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:11.449 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=175] [elementID=1] [startKey=7480000000000000ac] [endKey=7480000000000000ad] [2024/05/18 21:51:11.453 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=177] [conn=25] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.456 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=195] [neededSchemaVersion=196] ["start time"=146.717µs] [gotSchemaVersion=196] [phyTblIDs="[176]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:11.457 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=177] [version=196] [2024/05/18 21:51:11.460 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=4.491679ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:176, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.465 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=177] [conn=25] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.468 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=177] [2024/05/18 21:51:11.468 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.470 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=196] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:11.478 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:11.478 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:178, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:11.485 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=178] [conn=25] [category=ddl] [job="ID:178, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.487 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=196] [neededSchemaVersion=197] ["start time"=168.637µs] [gotSchemaVersion=197] [phyTblIDs="[176]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.488 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=178] [version=197] [2024/05/18 21:51:11.489 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=197] ["take time"=2.411675ms] [job="ID:178, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:176, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.496 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=178] [conn=25] [category=ddl] [job="ID:178, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.499 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=197] [neededSchemaVersion=198] ["start time"=201.834µs] [gotSchemaVersion=198] [phyTblIDs="[176]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.500 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=178] [version=198] [2024/05/18 21:51:11.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=198] ["take time"=2.577802ms] [job="ID:178, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:176, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.508 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=178] [conn=25] [category=ddl] [job="ID:178, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.510 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=198] [neededSchemaVersion=199] ["start time"=188.82µs] [gotSchemaVersion=199] [phyTblIDs="[176]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.511 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=178] [version=199] [2024/05/18 21:51:11.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=199] ["take time"=2.45498ms] [job="ID:178, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:176, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.520 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=178] [conn=25] [category=ddl] [job="ID:178, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.521 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=178] [physicalTableID=176] [startKey=7480000000000000b05f728000000000000001] [endKey=7480000000000000b05f72800000000000000100] [2024/05/18 21:51:11.523 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=178] [2024/05/18 21:51:11.528 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=178] [conn=25] [category=ddl] [job="ID:178, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210684538881, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.530 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:178, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:176, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210684538881, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000b05f728000000000000001,EndKey:7480000000000000b05f72800000000000000100,First:false,PhysicalTableID:176,Ingest mode:false"] [2024/05/18 21:51:11.531 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=176] ["start key"=7480000000000000b05f728000000000000001] ["end key"=7480000000000000b05f72800000000000000100] [2024/05/18 21:51:11.531 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000b05f728000000000000001] [endKey=7480000000000000b05f72800000000000000100] [2024/05/18 21:51:11.531 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=176] ["end key"=7480000000000000b05f72800000000000000100] ["current end key"=7480000000000000b05f72800000000000000100] [2024/05/18 21:51:11.531 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=178] [2024/05/18 21:51:11.531 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=178] [2024/05/18 21:51:11.531 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=178] [2024/05/18 21:51:11.532 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 176, range: [7480000000000000b05f728000000000000001, 7480000000000000b05f72800000000000000100), jobID: 178"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000b05f7280000000000000010000] ["take time"=462.022µs] [2024/05/18 21:51:11.532 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=178] [2024/05/18 21:51:11.532 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000b05f728000000000000001] [2024/05/18 21:51:11.532 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:11.566 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=199] [neededSchemaVersion=200] ["start time"=234.535µs] [gotSchemaVersion=200] [phyTblIDs="[176]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.567 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=178] [version=200] [2024/05/18 21:51:11.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=200] ["take time"=2.76557ms] [job="ID:178, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:176, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210684538881, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.578 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="modify column"] [2024/05/18 21:51:11.579 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=178] [conn=25] [job="ID:178, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:176, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.471 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210684538881, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.584 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=178] [2024/05/18 21:51:11.584 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.585 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=200] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:11.587 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:176, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.587 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:176, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:11.593 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=179] [conn=25] [category=ddl] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.596 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=200] [neededSchemaVersion=201] ["start time"=78.487µs] [gotSchemaVersion=201] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.597 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=179] [version=201] [2024/05/18 21:51:11.608 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=201] ["take time"=13.028879ms] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:176, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.615 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=179] [conn=25] [category=ddl] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.618 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=201] [neededSchemaVersion=202] ["start time"=49.383µs] [gotSchemaVersion=202] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.620 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=179] [version=202] [2024/05/18 21:51:11.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=202] ["take time"=2.103245ms] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.626 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=179] [conn=25] [category=ddl] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:176, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.629 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=202] [neededSchemaVersion=203] ["start time"=56.289µs] [gotSchemaVersion=203] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.631 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=179] [version=203] [2024/05/18 21:51:11.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=203] ["take time"=4.087733ms] [job="ID:179, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.638 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[176]"] [comment="drop table: table ID"] [2024/05/18 21:51:11.639 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=179] [jobType="drop table"] [2024/05/18 21:51:11.639 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=179] [conn=25] [job="ID:179, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:176, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.643 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=179] [elementID=1] [startKey=7480000000000000b0] [endKey=7480000000000000b1] [2024/05/18 21:51:11.644 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=179] [2024/05/18 21:51:11.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.644 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=203] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:11.647 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.647 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:11.652 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=181] [conn=25] [category=ddl] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.654 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=203] [neededSchemaVersion=204] ["start time"=179.266µs] [gotSchemaVersion=204] [phyTblIDs="[180]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:11.655 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=181] [version=204] [2024/05/18 21:51:11.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=204] ["take time"=2.106554ms] [job="ID:181, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:180, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.659 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=181] [conn=25] [job="ID:181, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.665 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=181] [2024/05/18 21:51:11.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.667 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=204] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:11.669 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:182, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:11.669 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:182, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:11.677 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=182] [conn=25] [category=ddl] [job="ID:182, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.679 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=204] [neededSchemaVersion=205] ["start time"=207.481µs] [gotSchemaVersion=205] [phyTblIDs="[180]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.680 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=182] [version=205] [2024/05/18 21:51:11.682 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=205] ["take time"=2.753984ms] [job="ID:182, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:180, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.687 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=182] [conn=25] [category=ddl] [job="ID:182, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.689 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=205] [neededSchemaVersion=206] ["start time"=239.565µs] [gotSchemaVersion=206] [phyTblIDs="[180]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.690 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=182] [version=206] [2024/05/18 21:51:11.691 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=2.006972ms] [job="ID:182, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:180, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.696 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=182] [conn=25] [category=ddl] [job="ID:182, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.699 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=206] [neededSchemaVersion=207] ["start time"=248.536µs] [gotSchemaVersion=207] [phyTblIDs="[180]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.700 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=182] [version=207] [2024/05/18 21:51:11.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=207] ["take time"=7.419843ms] [job="ID:182, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:180, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.713 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=182] [conn=25] [category=ddl] [job="ID:182, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.714 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=182] [physicalTableID=180] [startKey=7480000000000000b45f728000000000000001] [endKey=7480000000000000b45f72800000000000000100] [2024/05/18 21:51:11.725 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=182] [2024/05/18 21:51:11.731 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=182] [conn=25] [category=ddl] [job="ID:182, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210735132673, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.732 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:182, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:180, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210735132673, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000b45f728000000000000001,EndKey:7480000000000000b45f72800000000000000100,First:false,PhysicalTableID:180,Ingest mode:false"] [2024/05/18 21:51:11.733 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=180] ["start key"=7480000000000000b45f728000000000000001] ["end key"=7480000000000000b45f72800000000000000100] [2024/05/18 21:51:11.733 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000b45f728000000000000001] [endKey=7480000000000000b45f72800000000000000100] [2024/05/18 21:51:11.734 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=180] ["end key"=7480000000000000b45f72800000000000000100] ["current end key"=7480000000000000b45f72800000000000000100] [2024/05/18 21:51:11.734 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=182] [2024/05/18 21:51:11.734 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=182] [2024/05/18 21:51:11.734 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=182] [2024/05/18 21:51:11.734 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 180, range: [7480000000000000b45f728000000000000001, 7480000000000000b45f72800000000000000100), jobID: 182"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000b45f7280000000000000010000] ["take time"=344.886µs] [2024/05/18 21:51:11.734 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=182] [2024/05/18 21:51:11.734 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000b45f728000000000000001] [2024/05/18 21:51:11.734 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:11.825 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=207] [neededSchemaVersion=208] ["start time"=245.07µs] [gotSchemaVersion=208] [phyTblIDs="[180]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.826 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=182] [version=208] [2024/05/18 21:51:11.827 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=2.214212ms] [job="ID:182, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:180, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210735132673, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.833 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=182] [jobType="modify column"] [2024/05/18 21:51:11.833 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=182] [conn=25] [job="ID:182, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:180, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.668 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210735132673, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.839 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=182] [2024/05/18 21:51:11.839 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.841 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=208] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:11.846 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:180, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.846 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:180, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:11.852 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=183] [conn=25] [category=ddl] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.854 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=208] [neededSchemaVersion=209] ["start time"=86.258µs] [gotSchemaVersion=209] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.856 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=183] [version=209] [2024/05/18 21:51:11.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=209] ["take time"=2.545408ms] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:180, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.862 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=183] [conn=25] [category=ddl] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.864 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=209] [neededSchemaVersion=210] ["start time"=56.827µs] [gotSchemaVersion=210] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.866 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=183] [version=210] [2024/05/18 21:51:11.867 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=2.865706ms] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.875 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=183] [conn=25] [category=ddl] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:180, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.882 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=210] [neededSchemaVersion=211] ["start time"=50.669µs] [gotSchemaVersion=211] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:11.884 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=183] [version=211] [2024/05/18 21:51:11.884 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=211] ["take time"=2.479612ms] [job="ID:183, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.889 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=183] [tableIDs="[180]"] [comment="drop table: table ID"] [2024/05/18 21:51:11.891 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=183] [jobType="drop table"] [2024/05/18 21:51:11.892 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=183] [conn=25] [job="ID:183, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:180, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:11.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.898 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=183] [2024/05/18 21:51:11.898 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.898 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=183] [elementID=1] [startKey=7480000000000000b4] [endKey=7480000000000000b5] [2024/05/18 21:51:11.898 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=211] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:11.902 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:185, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:11.902 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:185, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:11.908 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=185] [conn=25] [category=ddl] [job="ID:185, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.913 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=211] [neededSchemaVersion=212] ["start time"=216.904µs] [gotSchemaVersion=212] [phyTblIDs="[184]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:11.914 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=185] [version=212] [2024/05/18 21:51:11.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=212] ["take time"=2.307928ms] [job="ID:185, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:11.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.928 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=185] [conn=25] [job="ID:185, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:11.932 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=185] [2024/05/18 21:51:11.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:11.933 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=212] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:11.938 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:11.938 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:186, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:11.944 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=186] [conn=25] [category=ddl] [job="ID:186, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.947 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=212] [neededSchemaVersion=213] ["start time"=227.465µs] [gotSchemaVersion=213] [phyTblIDs="[184]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.948 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=186] [version=213] [2024/05/18 21:51:11.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=213] ["take time"=2.021893ms] [job="ID:186, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:184, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.956 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=186] [conn=25] [category=ddl] [job="ID:186, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.959 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=213] [neededSchemaVersion=214] ["start time"=229.781µs] [gotSchemaVersion=214] [phyTblIDs="[184]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.960 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=186] [version=214] [2024/05/18 21:51:11.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=214] ["take time"=2.193738ms] [job="ID:186, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:184, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.975 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=186] [conn=25] [category=ddl] [job="ID:186, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.978 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=214] [neededSchemaVersion=215] ["start time"=267.784µs] [gotSchemaVersion=215] [phyTblIDs="[184]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:11.979 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=186] [version=215] [2024/05/18 21:51:11.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=215] ["take time"=4.172678ms] [job="ID:186, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:184, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.990 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=186] [conn=25] [category=ddl] [job="ID:186, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:11.991 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=186] [physicalTableID=184] [startKey=7480000000000000b85f728000000000000001] [endKey=7480000000000000b85f72800000000000000100] [2024/05/18 21:51:11.993 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=186] [2024/05/18 21:51:12.005 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=186] [conn=25] [category=ddl] [job="ID:186, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210807746562, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.007 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:186, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:184, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210807746562, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000b85f728000000000000001,EndKey:7480000000000000b85f72800000000000000100,First:false,PhysicalTableID:184,Ingest mode:false"] [2024/05/18 21:51:12.008 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=184] ["start key"=7480000000000000b85f728000000000000001] ["end key"=7480000000000000b85f72800000000000000100] [2024/05/18 21:51:12.008 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000b85f728000000000000001] [endKey=7480000000000000b85f72800000000000000100] [2024/05/18 21:51:12.009 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=184] ["end key"=7480000000000000b85f72800000000000000100] ["current end key"=7480000000000000b85f72800000000000000100] [2024/05/18 21:51:12.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=186] [2024/05/18 21:51:12.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=186] [2024/05/18 21:51:12.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=186] [2024/05/18 21:51:12.009 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 184, range: [7480000000000000b85f728000000000000001, 7480000000000000b85f72800000000000000100), jobID: 186"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000b85f7280000000000000010000] ["take time"=422.228µs] [2024/05/18 21:51:12.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=186] [2024/05/18 21:51:12.009 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000b85f728000000000000001] [2024/05/18 21:51:12.010 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:12.057 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=215] [neededSchemaVersion=216] ["start time"=205.953µs] [gotSchemaVersion=216] [phyTblIDs="[184]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.058 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=186] [version=216] [2024/05/18 21:51:12.062 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=5.102448ms] [job="ID:186, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:184, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210807746562, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.069 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=186] [jobType="modify column"] [2024/05/18 21:51:12.069 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=186] [conn=25] [job="ID:186, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:184, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:11.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210807746562, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.074 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=186] [2024/05/18 21:51:12.074 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.075 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=216] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:12.078 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.078 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:12.083 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=187] [conn=25] [category=ddl] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.086 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=216] [neededSchemaVersion=217] ["start time"=60.986µs] [gotSchemaVersion=217] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.087 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=187] [version=217] [2024/05/18 21:51:12.088 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=217] ["take time"=2.129505ms] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:184, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.093 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=187] [conn=25] [category=ddl] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.098 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=217] [neededSchemaVersion=218] ["start time"=46.202µs] [gotSchemaVersion=218] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.099 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=187] [version=218] [2024/05/18 21:51:12.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=218] ["take time"=2.273998ms] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.116 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=187] [conn=25] [category=ddl] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:184, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.120 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=218] [neededSchemaVersion=219] ["start time"=45.943µs] [gotSchemaVersion=219] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.121 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=187] [version=219] [2024/05/18 21:51:12.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=219] ["take time"=2.815383ms] [job="ID:187, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.127 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=187] [tableIDs="[184]"] [comment="drop table: table ID"] [2024/05/18 21:51:12.128 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop table"] [2024/05/18 21:51:12.128 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=187] [conn=25] [job="ID:187, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:184, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.133 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=187] [elementID=1] [startKey=7480000000000000b8] [endKey=7480000000000000b9] [2024/05/18 21:51:12.133 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=187] [2024/05/18 21:51:12.133 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.133 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=219] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:12.136 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.136 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:12.141 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=189] [conn=25] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.144 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=219] [neededSchemaVersion=220] ["start time"=211.995µs] [gotSchemaVersion=220] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:12.145 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=189] [version=220] [2024/05/18 21:51:12.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=220] ["take time"=2.364439ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:188, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.150 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=189] [conn=25] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.153 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=189] [2024/05/18 21:51:12.153 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.154 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=220] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:12.156 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:12.156 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:190, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:12.161 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=190] [conn=25] [category=ddl] [job="ID:190, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.163 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=220] [neededSchemaVersion=221] ["start time"=206.908µs] [gotSchemaVersion=221] [phyTblIDs="[188]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.164 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=190] [version=221] [2024/05/18 21:51:12.165 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=221] ["take time"=2.073061ms] [job="ID:190, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:188, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.172 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=190] [conn=25] [category=ddl] [job="ID:190, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.175 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=221] [neededSchemaVersion=222] ["start time"=237.702µs] [gotSchemaVersion=222] [phyTblIDs="[188]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.176 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=190] [version=222] [2024/05/18 21:51:12.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=222] ["take time"=2.346667ms] [job="ID:190, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:188, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.183 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=190] [conn=25] [category=ddl] [job="ID:190, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.185 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=222] [neededSchemaVersion=223] ["start time"=203.639µs] [gotSchemaVersion=223] [phyTblIDs="[188]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.187 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=190] [version=223] [2024/05/18 21:51:12.189 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=223] ["take time"=4.177626ms] [job="ID:190, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:188, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.203 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=190] [conn=25] [category=ddl] [job="ID:190, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.203 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=190] [physicalTableID=188] [startKey=7480000000000000bc5f728000000000000001] [endKey=7480000000000000bc5f72800000000000000100] [2024/05/18 21:51:12.213 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=190] [2024/05/18 21:51:12.219 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=190] [conn=25] [category=ddl] [job="ID:190, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210863583233, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.221 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:190, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:188, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210863583233, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000bc5f728000000000000001,EndKey:7480000000000000bc5f72800000000000000100,First:false,PhysicalTableID:188,Ingest mode:false"] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=188] ["start key"=7480000000000000bc5f728000000000000001] ["end key"=7480000000000000bc5f72800000000000000100] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000bc5f728000000000000001] [endKey=7480000000000000bc5f72800000000000000100] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=188] ["end key"=7480000000000000bc5f72800000000000000100] ["current end key"=7480000000000000bc5f72800000000000000100] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=190] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp update column"] [task="taskID: 1, physicalTableID: 188, range: [7480000000000000bc5f728000000000000001, 7480000000000000bc5f72800000000000000100), jobID: 190"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000bc5f7280000000000000010000] ["take time"=328.729µs] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=190] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=190] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=190] [2024/05/18 21:51:12.223 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000bc5f728000000000000001] [2024/05/18 21:51:12.224 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:12.259 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=223] [neededSchemaVersion=224] ["start time"=207.303µs] [gotSchemaVersion=224] [phyTblIDs="[188]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.260 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=190] [version=224] [2024/05/18 21:51:12.261 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=224] ["take time"=2.285405ms] [job="ID:190, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:188, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210863583233, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.268 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="modify column"] [2024/05/18 21:51:12.268 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=190] [conn=25] [job="ID:190, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:188, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210863583233, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.275 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=190] [2024/05/18 21:51:12.275 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.276 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=224] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:12.278 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:188, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.278 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:188, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:12.283 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=191] [conn=25] [category=ddl] [job="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.285 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=224] [neededSchemaVersion=225] ["start time"=74.335µs] [gotSchemaVersion=225] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.286 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=191] [version=225] [2024/05/18 21:51:12.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=225] ["take time"=2.080201ms] [job="ID:191, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:188, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.293 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=191] [conn=25] [category=ddl] [job="ID:191, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.300 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=225] [neededSchemaVersion=226] ["start time"=51.673µs] [gotSchemaVersion=226] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.301 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=191] [version=226] [2024/05/18 21:51:12.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=226] ["take time"=2.566078ms] [job="ID:191, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.306 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=191] [conn=25] [category=ddl] [job="ID:191, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:188, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.308 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=226] [neededSchemaVersion=227] ["start time"=38.046µs] [gotSchemaVersion=227] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.309 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=191] [version=227] [2024/05/18 21:51:12.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=227] ["take time"=2.965921ms] [job="ID:191, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.316 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=191] [tableIDs="[188]"] [comment="drop table: table ID"] [2024/05/18 21:51:12.316 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="drop table"] [2024/05/18 21:51:12.317 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=191] [conn=25] [job="ID:191, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:188, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.321 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=191] [elementID=1] [startKey=7480000000000000bc] [endKey=7480000000000000bd] [2024/05/18 21:51:12.321 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=191] [2024/05/18 21:51:12.321 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.321 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=227] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:12.324 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.324 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:12.331 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=193] [conn=25] [category=ddl] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.333 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=227] [neededSchemaVersion=228] ["start time"=137.506µs] [gotSchemaVersion=228] [phyTblIDs="[192]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:12.334 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=193] [version=228] [2024/05/18 21:51:12.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=228] ["take time"=2.243516ms] [job="ID:193, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.343 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=193] [conn=25] [job="ID:193, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.347 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=193] [2024/05/18 21:51:12.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.348 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=228] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:12.350 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:12.350 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:194, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:12.358 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=194] [conn=25] [category=ddl] [job="ID:194, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.360 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=228] [neededSchemaVersion=229] ["start time"=254.179µs] [gotSchemaVersion=229] [phyTblIDs="[192]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.361 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=194] [version=229] [2024/05/18 21:51:12.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=229] ["take time"=2.592311ms] [job="ID:194, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.369 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=194] [conn=25] [category=ddl] [job="ID:194, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.371 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=229] [neededSchemaVersion=230] ["start time"=289.796µs] [gotSchemaVersion=230] [phyTblIDs="[192]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.373 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=194] [version=230] [2024/05/18 21:51:12.373 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=230] ["take time"=2.081022ms] [job="ID:194, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.379 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=194] [conn=25] [category=ddl] [job="ID:194, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.381 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=230] [neededSchemaVersion=231] ["start time"=188.364µs] [gotSchemaVersion=231] [phyTblIDs="[192]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.383 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=194] [version=231] [2024/05/18 21:51:12.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=231] ["take time"=2.200473ms] [job="ID:194, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:192, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.389 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=194] [conn=25] [category=ddl] [job="ID:194, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.390 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=194] [physicalTableID=192] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f72800000000000000100] [2024/05/18 21:51:12.393 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=194] [2024/05/18 21:51:12.399 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=194] [conn=25] [category=ddl] [job="ID:194, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210912604161, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.401 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:194, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:192, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210912604161, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000c05f728000000000000001,EndKey:7480000000000000c05f72800000000000000100,First:false,PhysicalTableID:192,Ingest mode:false"] [2024/05/18 21:51:12.402 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=192] ["start key"=7480000000000000c05f728000000000000001] ["end key"=7480000000000000c05f72800000000000000100] [2024/05/18 21:51:12.402 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f72800000000000000100] [2024/05/18 21:51:12.402 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=192] ["end key"=7480000000000000c05f72800000000000000100] ["current end key"=7480000000000000c05f72800000000000000100] [2024/05/18 21:51:12.402 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=194] [2024/05/18 21:51:12.403 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=194] [2024/05/18 21:51:12.403 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=194] [2024/05/18 21:51:12.403 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp update column"] [task="taskID: 1, physicalTableID: 192, range: [7480000000000000c05f728000000000000001, 7480000000000000c05f72800000000000000100), jobID: 194"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000c05f7280000000000000010000] ["take time"=463.905µs] [2024/05/18 21:51:12.403 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=194] [2024/05/18 21:51:12.403 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000c05f728000000000000001] [2024/05/18 21:51:12.403 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:12.446 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=231] [neededSchemaVersion=232] ["start time"=248.053µs] [gotSchemaVersion=232] [phyTblIDs="[192]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.447 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=194] [version=232] [2024/05/18 21:51:12.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=232] ["take time"=5.075297ms] [job="ID:194, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:192, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210912604161, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.457 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="modify column"] [2024/05/18 21:51:12.458 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=194] [conn=25] [job="ID:194, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:192, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210912604161, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.462 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=194] [2024/05/18 21:51:12.462 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.464 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=232] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:12.466 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:195, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.466 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:195, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:12.471 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=195] [conn=25] [category=ddl] [job="ID:195, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.473 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=232] [neededSchemaVersion=233] ["start time"=90.716µs] [gotSchemaVersion=233] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.474 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=195] [version=233] [2024/05/18 21:51:12.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=233] ["take time"=4.736812ms] [job="ID:195, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.482 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=195] [conn=25] [category=ddl] [job="ID:195, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.484 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=233] [neededSchemaVersion=234] ["start time"=49.382µs] [gotSchemaVersion=234] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.486 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=195] [version=234] [2024/05/18 21:51:12.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=234] ["take time"=2.65335ms] [job="ID:195, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.494 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=195] [conn=25] [category=ddl] [job="ID:195, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.499 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=234] [neededSchemaVersion=235] ["start time"=54.851µs] [gotSchemaVersion=235] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.500 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=195] [version=235] [2024/05/18 21:51:12.501 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=2.849076ms] [job="ID:195, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.507 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=195] [tableIDs="[192]"] [comment="drop table: table ID"] [2024/05/18 21:51:12.508 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=195] [jobType="drop table"] [2024/05/18 21:51:12.509 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=195] [conn=25] [job="ID:195, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.514 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=195] [elementID=1] [startKey=7480000000000000c0] [endKey=7480000000000000c1] [2024/05/18 21:51:12.515 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=195] [2024/05/18 21:51:12.515 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.515 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=235] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:12.518 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:197, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.518 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:197, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:12.523 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=197] [conn=25] [category=ddl] [job="ID:197, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.525 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=235] [neededSchemaVersion=236] ["start time"=195.409µs] [gotSchemaVersion=236] [phyTblIDs="[196]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:12.526 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=197] [version=236] [2024/05/18 21:51:12.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=236] ["take time"=2.692394ms] [job="ID:197, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.533 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=197] [conn=25] [job="ID:197, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.517 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.536 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=197] [2024/05/18 21:51:12.536 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.537 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=236] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:12.541 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:198, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:12.541 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:198, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:12.547 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=198] [conn=25] [category=ddl] [job="ID:198, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.550 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=236] [neededSchemaVersion=237] ["start time"=215.032µs] [gotSchemaVersion=237] [phyTblIDs="[196]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.551 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=198] [version=237] [2024/05/18 21:51:12.552 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=2.022912ms] [job="ID:198, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:196, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.558 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=198] [conn=25] [category=ddl] [job="ID:198, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.562 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=237] [neededSchemaVersion=238] ["start time"=225.172µs] [gotSchemaVersion=238] [phyTblIDs="[196]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.563 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=198] [version=238] [2024/05/18 21:51:12.564 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=2.46747ms] [job="ID:198, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:196, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.571 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=198] [conn=25] [category=ddl] [job="ID:198, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.574 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=238] [neededSchemaVersion=239] ["start time"=265.75µs] [gotSchemaVersion=239] [phyTblIDs="[196]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.575 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=198] [version=239] [2024/05/18 21:51:12.579 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=6.249494ms] [job="ID:198, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:196, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.588 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=198] [conn=25] [category=ddl] [job="ID:198, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.588 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=198] [physicalTableID=196] [startKey=7480000000000000c45f728000000000000001] [endKey=7480000000000000c45f72800000000000000100] [2024/05/18 21:51:12.591 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=198] [2024/05/18 21:51:12.598 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=198] [conn=25] [category=ddl] [job="ID:198, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210964508674, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.599 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:198, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:196, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210964508674, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000c45f728000000000000001,EndKey:7480000000000000c45f72800000000000000100,First:false,PhysicalTableID:196,Ingest mode:false"] [2024/05/18 21:51:12.600 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=196] ["start key"=7480000000000000c45f728000000000000001] ["end key"=7480000000000000c45f72800000000000000100] [2024/05/18 21:51:12.601 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000c45f728000000000000001] [endKey=7480000000000000c45f72800000000000000100] [2024/05/18 21:51:12.601 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=196] ["end key"=7480000000000000c45f72800000000000000100] ["current end key"=7480000000000000c45f72800000000000000100] [2024/05/18 21:51:12.601 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=198] [2024/05/18 21:51:12.601 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=198] [2024/05/18 21:51:12.601 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=198] [2024/05/18 21:51:12.601 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 196, range: [7480000000000000c45f728000000000000001, 7480000000000000c45f72800000000000000100), jobID: 198"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000c45f7280000000000000010000] ["take time"=543.645µs] [2024/05/18 21:51:12.602 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=198] [2024/05/18 21:51:12.602 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000c45f728000000000000001] [2024/05/18 21:51:12.602 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:12.639 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=239] [neededSchemaVersion=240] ["start time"=180.388µs] [gotSchemaVersion=240] [phyTblIDs="[196]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.640 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=198] [version=240] [2024/05/18 21:51:12.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=240] ["take time"=2.067625ms] [job="ID:198, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:196, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210964508674, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.647 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=198] [jobType="modify column"] [2024/05/18 21:51:12.647 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=198] [conn=25] [job="ID:198, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:196, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857210964508674, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.653 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=198] [2024/05/18 21:51:12.653 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.655 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=240] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:12.656 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.657 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:199, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:12.661 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=199] [conn=25] [category=ddl] [job="ID:199, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.663 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=240] [neededSchemaVersion=241] ["start time"=67.012µs] [gotSchemaVersion=241] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.664 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=199] [version=241] [2024/05/18 21:51:12.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=241] ["take time"=2.913809ms] [job="ID:199, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:196, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.670 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=199] [conn=25] [category=ddl] [job="ID:199, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.672 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=241] [neededSchemaVersion=242] ["start time"=45.809µs] [gotSchemaVersion=242] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.673 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=199] [version=242] [2024/05/18 21:51:12.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=242] ["take time"=2.29618ms] [job="ID:199, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.679 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=199] [conn=25] [category=ddl] [job="ID:199, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.681 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=242] [neededSchemaVersion=243] ["start time"=41.847µs] [gotSchemaVersion=243] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.682 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=199] [version=243] [2024/05/18 21:51:12.683 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=2.557352ms] [job="ID:199, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.688 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=199] [tableIDs="[196]"] [comment="drop table: table ID"] [2024/05/18 21:51:12.689 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="drop table"] [2024/05/18 21:51:12.689 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=199] [conn=25] [job="ID:199, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.694 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=199] [2024/05/18 21:51:12.694 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.694 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=243] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:12.696 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=199] [elementID=1] [startKey=7480000000000000c4] [endKey=7480000000000000c5] [2024/05/18 21:51:12.696 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.696 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:201, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:12.704 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=201] [conn=25] [category=ddl] [job="ID:201, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.706 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=243] [neededSchemaVersion=244] ["start time"=169.35µs] [gotSchemaVersion=244] [phyTblIDs="[200]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:12.707 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=201] [version=244] [2024/05/18 21:51:12.709 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=2.842533ms] [job="ID:201, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:200, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.713 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=201] [conn=25] [job="ID:201, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.716 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=201] [2024/05/18 21:51:12.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.718 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=244] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:12.720 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:202, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:12.720 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:202, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:12.726 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=202] [conn=25] [category=ddl] [job="ID:202, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.729 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=244] [neededSchemaVersion=245] ["start time"=195.829µs] [gotSchemaVersion=245] [phyTblIDs="[200]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.730 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=202] [version=245] [2024/05/18 21:51:12.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=245] ["take time"=2.205479ms] [job="ID:202, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:200, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.737 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=202] [conn=25] [category=ddl] [job="ID:202, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.741 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=245] [neededSchemaVersion=246] ["start time"=286.818µs] [gotSchemaVersion=246] [phyTblIDs="[200]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.742 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=202] [version=246] [2024/05/18 21:51:12.742 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=2.01517ms] [job="ID:202, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:200, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.751 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=202] [conn=25] [category=ddl] [job="ID:202, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.753 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=246] [neededSchemaVersion=247] ["start time"=256.527µs] [gotSchemaVersion=247] [phyTblIDs="[200]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.755 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=202] [version=247] [2024/05/18 21:51:12.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=247] ["take time"=2.390427ms] [job="ID:202, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:200, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.761 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=202] [conn=25] [category=ddl] [job="ID:202, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.762 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=202] [physicalTableID=200] [startKey=7480000000000000c85f728000000000000001] [endKey=7480000000000000c85f72800000000000000100] [2024/05/18 21:51:12.765 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=202] [2024/05/18 21:51:12.771 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=202] [conn=25] [category=ddl] [job="ID:202, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211009859585, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.773 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:202, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:200, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211009859585, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000c85f728000000000000001,EndKey:7480000000000000c85f72800000000000000100,First:false,PhysicalTableID:200,Ingest mode:false"] [2024/05/18 21:51:12.774 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=200] ["start key"=7480000000000000c85f728000000000000001] ["end key"=7480000000000000c85f72800000000000000100] [2024/05/18 21:51:12.774 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000c85f728000000000000001] [endKey=7480000000000000c85f72800000000000000100] [2024/05/18 21:51:12.775 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=200] ["end key"=7480000000000000c85f72800000000000000100] ["current end key"=7480000000000000c85f72800000000000000100] [2024/05/18 21:51:12.775 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=202] [2024/05/18 21:51:12.775 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=202] [2024/05/18 21:51:12.775 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=202] [2024/05/18 21:51:12.775 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 200, range: [7480000000000000c85f728000000000000001, 7480000000000000c85f72800000000000000100), jobID: 202"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000c85f7280000000000000010000] ["take time"=414.643µs] [2024/05/18 21:51:12.775 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=202] [2024/05/18 21:51:12.775 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000c85f728000000000000001] [2024/05/18 21:51:12.776 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:12.813 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=247] [neededSchemaVersion=248] ["start time"=226.516µs] [gotSchemaVersion=248] [phyTblIDs="[200]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.814 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=202] [version=248] [2024/05/18 21:51:12.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=248] ["take time"=2.0873ms] [job="ID:202, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:200, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211009859585, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.822 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=202] [jobType="modify column"] [2024/05/18 21:51:12.822 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=202] [conn=25] [job="ID:202, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:200, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211009859585, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.827 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=202] [2024/05/18 21:51:12.827 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.829 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=248] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:12.831 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:200, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.831 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:203, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:200, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:12.838 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=203] [conn=25] [category=ddl] [job="ID:203, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.840 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=248] [neededSchemaVersion=249] ["start time"=89.462µs] [gotSchemaVersion=249] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.842 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=203] [version=249] [2024/05/18 21:51:12.843 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=2.940895ms] [job="ID:203, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:200, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.850 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=203] [conn=25] [category=ddl] [job="ID:203, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.855 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=249] [neededSchemaVersion=250] ["start time"=47.483µs] [gotSchemaVersion=250] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.856 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=203] [version=250] [2024/05/18 21:51:12.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=250] ["take time"=2.260117ms] [job="ID:203, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.862 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=203] [conn=25] [category=ddl] [job="ID:203, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:200, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.865 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=250] [neededSchemaVersion=251] ["start time"=60.111µs] [gotSchemaVersion=251] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:12.867 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=203] [version=251] [2024/05/18 21:51:12.868 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=2.744291ms] [job="ID:203, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.874 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=203] [tableIDs="[200]"] [comment="drop table: table ID"] [2024/05/18 21:51:12.875 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=203] [jobType="drop table"] [2024/05/18 21:51:12.876 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=203] [conn=25] [job="ID:203, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:200, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:12.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.880 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=203] [elementID=1] [startKey=7480000000000000c8] [endKey=7480000000000000c9] [2024/05/18 21:51:12.881 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=203] [2024/05/18 21:51:12.881 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.881 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=251] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:12.884 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:12.884 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:205, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:12.889 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=205] [conn=25] [category=ddl] [job="ID:205, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.891 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=251] [neededSchemaVersion=252] ["start time"=185.183µs] [gotSchemaVersion=252] [phyTblIDs="[204]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:12.892 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=205] [version=252] [2024/05/18 21:51:12.893 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=252] ["take time"=2.070834ms] [job="ID:205, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:12.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.901 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=205] [conn=25] [job="ID:205, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:12.904 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=205] [2024/05/18 21:51:12.904 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:12.905 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=252] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:12.908 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:206, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:12.908 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:206, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:12.916 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=206] [conn=25] [category=ddl] [job="ID:206, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.918 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=252] [neededSchemaVersion=253] ["start time"=157.525µs] [gotSchemaVersion=253] [phyTblIDs="[204]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.919 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=206] [version=253] [2024/05/18 21:51:12.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=253] ["take time"=2.7664ms] [job="ID:206, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:204, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.926 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=206] [conn=25] [category=ddl] [job="ID:206, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=253] [neededSchemaVersion=254] ["start time"=251.682µs] [gotSchemaVersion=254] [phyTblIDs="[204]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.930 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=206] [version=254] [2024/05/18 21:51:12.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=254] ["take time"=2.760983ms] [job="ID:206, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:204, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.937 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=206] [conn=25] [category=ddl] [job="ID:206, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.939 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=254] [neededSchemaVersion=255] ["start time"=206.594µs] [gotSchemaVersion=255] [phyTblIDs="[204]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:12.940 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=206] [version=255] [2024/05/18 21:51:12.941 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=2.0696ms] [job="ID:206, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:204, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.948 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=206] [conn=25] [category=ddl] [job="ID:206, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.949 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=206] [physicalTableID=204] [startKey=7480000000000000cc5f728000000000000001] [endKey=7480000000000000cc5f72800000000000000100] [2024/05/18 21:51:12.951 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/18 21:51:12.957 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=206] [conn=25] [category=ddl] [job="ID:206, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211058880513, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:12.959 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:206, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:204, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211058880513, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000cc5f728000000000000001,EndKey:7480000000000000cc5f72800000000000000100,First:false,PhysicalTableID:204,Ingest mode:false"] [2024/05/18 21:51:12.962 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=204] ["start key"=7480000000000000cc5f728000000000000001] ["end key"=7480000000000000cc5f72800000000000000100] [2024/05/18 21:51:12.962 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000cc5f728000000000000001] [endKey=7480000000000000cc5f72800000000000000100] [2024/05/18 21:51:12.962 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=204] ["end key"=7480000000000000cc5f72800000000000000100] ["current end key"=7480000000000000cc5f72800000000000000100] [2024/05/18 21:51:12.962 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=206] [2024/05/18 21:51:12.963 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=206] [2024/05/18 21:51:12.963 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=206] [2024/05/18 21:51:12.963 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 204, range: [7480000000000000cc5f728000000000000001, 7480000000000000cc5f72800000000000000100), jobID: 206"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000cc5f7280000000000000010000] ["take time"=557.673µs] [2024/05/18 21:51:12.963 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=206] [2024/05/18 21:51:12.963 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000cc5f728000000000000001] [2024/05/18 21:51:12.964 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:13.015 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=255] [neededSchemaVersion=256] ["start time"=234.361µs] [gotSchemaVersion=256] [phyTblIDs="[204]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.016 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=206] [version=256] [2024/05/18 21:51:13.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=256] ["take time"=2.015618ms] [job="ID:206, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:204, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211058880513, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.024 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=206] [jobType="modify column"] [2024/05/18 21:51:13.024 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=206] [conn=25] [job="ID:206, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:204, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:12.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211058880513, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.030 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=206] [2024/05/18 21:51:13.030 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.031 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=256] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:13.033 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.033 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:207, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:13.039 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=207] [conn=25] [category=ddl] [job="ID:207, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.041 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=256] [neededSchemaVersion=257] ["start time"=61.738µs] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.042 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=207] [version=257] [2024/05/18 21:51:13.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=257] ["take time"=2.453733ms] [job="ID:207, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:204, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.049 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=207] [conn=25] [category=ddl] [job="ID:207, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.051 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=257] [neededSchemaVersion=258] ["start time"=55.163µs] [gotSchemaVersion=258] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.052 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=207] [version=258] [2024/05/18 21:51:13.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=258] ["take time"=2.806556ms] [job="ID:207, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.058 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=207] [conn=25] [category=ddl] [job="ID:207, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.060 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=258] [neededSchemaVersion=259] ["start time"=59.331µs] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.061 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=207] [version=259] [2024/05/18 21:51:13.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=259] ["take time"=2.915687ms] [job="ID:207, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.067 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=207] [tableIDs="[204]"] [comment="drop table: table ID"] [2024/05/18 21:51:13.068 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=207] [jobType="drop table"] [2024/05/18 21:51:13.068 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=207] [conn=25] [job="ID:207, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.074 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=207] [elementID=1] [startKey=7480000000000000cc] [endKey=7480000000000000cd] [2024/05/18 21:51:13.074 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=207] [2024/05/18 21:51:13.074 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.075 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=259] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:13.077 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.077 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:13.083 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=209] [conn=25] [category=ddl] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.086 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=259] [neededSchemaVersion=260] ["start time"=182.806µs] [gotSchemaVersion=260] [phyTblIDs="[208]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:13.088 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=209] [version=260] [2024/05/18 21:51:13.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=260] ["take time"=2.363868ms] [job="ID:209, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.096 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=209] [conn=25] [job="ID:209, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.101 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=209] [2024/05/18 21:51:13.101 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.103 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=260] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:13.105 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:210, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:13.105 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:210, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:13.112 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=210] [conn=25] [category=ddl] [job="ID:210, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.115 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=260] [neededSchemaVersion=261] ["start time"=230.383µs] [gotSchemaVersion=261] [phyTblIDs="[208]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.117 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=210] [version=261] [2024/05/18 21:51:13.117 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=261] ["take time"=2.394459ms] [job="ID:210, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:208, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.124 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=210] [conn=25] [category=ddl] [job="ID:210, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.126 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=261] [neededSchemaVersion=262] ["start time"=248.439µs] [gotSchemaVersion=262] [phyTblIDs="[208]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.128 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=210] [version=262] [2024/05/18 21:51:13.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=262] ["take time"=2.3067ms] [job="ID:210, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:208, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.134 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=210] [conn=25] [category=ddl] [job="ID:210, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.136 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=262] [neededSchemaVersion=263] ["start time"=256.794µs] [gotSchemaVersion=263] [phyTblIDs="[208]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.138 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=210] [version=263] [2024/05/18 21:51:13.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=263] ["take time"=2.084243ms] [job="ID:210, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:208, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.146 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=210] [conn=25] [category=ddl] [job="ID:210, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.147 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=210] [physicalTableID=208] [startKey=7480000000000000d05f728000000000000001] [endKey=7480000000000000d05f72800000000000000100] [2024/05/18 21:51:13.150 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/18 21:51:13.156 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=210] [conn=25] [category=ddl] [job="ID:210, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211111047168, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.157 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:210, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:208, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211111047168, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000d05f728000000000000001,EndKey:7480000000000000d05f72800000000000000100,First:false,PhysicalTableID:208,Ingest mode:false"] [2024/05/18 21:51:13.158 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=208] ["start key"=7480000000000000d05f728000000000000001] ["end key"=7480000000000000d05f72800000000000000100] [2024/05/18 21:51:13.158 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000d05f728000000000000001] [endKey=7480000000000000d05f72800000000000000100] [2024/05/18 21:51:13.159 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=208] ["end key"=7480000000000000d05f72800000000000000100] ["current end key"=7480000000000000d05f72800000000000000100] [2024/05/18 21:51:13.159 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=210] [2024/05/18 21:51:13.159 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=210] [2024/05/18 21:51:13.159 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=210] [2024/05/18 21:51:13.159 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 208, range: [7480000000000000d05f728000000000000001, 7480000000000000d05f72800000000000000100), jobID: 210"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000d05f7280000000000000010000] ["take time"=476.159µs] [2024/05/18 21:51:13.159 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=210] [2024/05/18 21:51:13.159 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000d05f728000000000000001] [2024/05/18 21:51:13.160 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:13.197 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=263] [neededSchemaVersion=264] ["start time"=213.389µs] [gotSchemaVersion=264] [phyTblIDs="[208]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.198 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=210] [version=264] [2024/05/18 21:51:13.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=264] ["take time"=2.066886ms] [job="ID:210, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:208, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211111047168, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.205 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=210] [jobType="modify column"] [2024/05/18 21:51:13.206 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=210] [conn=25] [job="ID:210, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:208, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211111047168, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.221 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=210] [2024/05/18 21:51:13.221 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.223 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=264] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:13.225 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.225 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:13.230 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=211] [conn=25] [category=ddl] [job="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.232 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=264] [neededSchemaVersion=265] ["start time"=75.244µs] [gotSchemaVersion=265] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.233 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=211] [version=265] [2024/05/18 21:51:13.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=265] ["take time"=2.378233ms] [job="ID:211, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:208, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.238 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=211] [conn=25] [category=ddl] [job="ID:211, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.240 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=265] [neededSchemaVersion=266] ["start time"=45.123µs] [gotSchemaVersion=266] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.241 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=211] [version=266] [2024/05/18 21:51:13.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=266] ["take time"=2.117537ms] [job="ID:211, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.248 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=211] [conn=25] [category=ddl] [job="ID:211, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:208, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.251 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=266] [neededSchemaVersion=267] ["start time"=47.543µs] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.253 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=211] [version=267] [2024/05/18 21:51:13.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=267] ["take time"=4.243271ms] [job="ID:211, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.260 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=211] [tableIDs="[208]"] [comment="drop table: table ID"] [2024/05/18 21:51:13.261 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="drop table"] [2024/05/18 21:51:13.262 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=211] [conn=25] [job="ID:211, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:208, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.267 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=211] [elementID=1] [startKey=7480000000000000d0] [endKey=7480000000000000d1] [2024/05/18 21:51:13.268 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=211] [2024/05/18 21:51:13.268 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.268 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=267] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:13.271 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.271 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:13.277 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=213] [conn=25] [category=ddl] [job="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.279 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=267] [neededSchemaVersion=268] ["start time"=143.913µs] [gotSchemaVersion=268] [phyTblIDs="[212]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:13.280 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=213] [version=268] [2024/05/18 21:51:13.282 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=268] ["take time"=2.788874ms] [job="ID:213, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.287 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=213] [conn=25] [job="ID:213, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.291 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=213] [2024/05/18 21:51:13.291 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.292 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=268] [cur_db=test] [sql="alter table t_mc modify a datetime"] [user=] [2024/05/18 21:51:13.295 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:214, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:13.295 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:214, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a datetime"] [2024/05/18 21:51:13.300 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=214] [conn=25] [category=ddl] [job="ID:214, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.303 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=268] [neededSchemaVersion=269] ["start time"=252.181µs] [gotSchemaVersion=269] [phyTblIDs="[212]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.304 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=214] [version=269] [2024/05/18 21:51:13.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=269] ["take time"=4.801041ms] [job="ID:214, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.313 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=214] [conn=25] [category=ddl] [job="ID:214, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.316 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=269] [neededSchemaVersion=270] ["start time"=272.412µs] [gotSchemaVersion=270] [phyTblIDs="[212]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.317 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=214] [version=270] [2024/05/18 21:51:13.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=270] ["take time"=2.122272ms] [job="ID:214, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.323 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=214] [conn=25] [category=ddl] [job="ID:214, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.325 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=270] [neededSchemaVersion=271] ["start time"=171.424µs] [gotSchemaVersion=271] [phyTblIDs="[212]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.326 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=214] [version=271] [2024/05/18 21:51:13.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=271] ["take time"=3.080094ms] [job="ID:214, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:212, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.334 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=214] [conn=25] [category=ddl] [job="ID:214, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.335 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=214] [physicalTableID=212] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000000100] [2024/05/18 21:51:13.338 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=214] [2024/05/18 21:51:13.342 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=214] [conn=25] [category=ddl] [job="ID:214, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211160330240, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.344 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:214, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:212, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211160330240, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000d45f728000000000000001,EndKey:7480000000000000d45f72800000000000000100,First:false,PhysicalTableID:212,Ingest mode:false"] [2024/05/18 21:51:13.345 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=212] ["start key"=7480000000000000d45f728000000000000001] ["end key"=7480000000000000d45f72800000000000000100] [2024/05/18 21:51:13.345 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000000100] [2024/05/18 21:51:13.345 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=212] ["end key"=7480000000000000d45f72800000000000000100] ["current end key"=7480000000000000d45f72800000000000000100] [2024/05/18 21:51:13.346 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=214] [2024/05/18 21:51:13.346 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=214] [2024/05/18 21:51:13.346 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=214] [2024/05/18 21:51:13.346 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 212, range: [7480000000000000d45f728000000000000001, 7480000000000000d45f72800000000000000100), jobID: 214"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000d45f7280000000000000010000] ["take time"=743.943µs] [2024/05/18 21:51:13.346 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=214] [2024/05/18 21:51:13.346 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000d45f728000000000000001] [2024/05/18 21:51:13.346 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:13.380 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=271] [neededSchemaVersion=272] ["start time"=226.014µs] [gotSchemaVersion=272] [phyTblIDs="[212]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.381 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=214] [version=272] [2024/05/18 21:51:13.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=272] ["take time"=3.91532ms] [job="ID:214, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:212, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211160330240, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.401 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=214] [jobType="modify column"] [2024/05/18 21:51:13.401 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=214] [conn=25] [job="ID:214, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:212, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211160330240, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.411 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=214] [2024/05/18 21:51:13.411 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.412 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=272] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:13.414 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.414 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:215, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:13.420 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=215] [conn=25] [category=ddl] [job="ID:215, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.422 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=272] [neededSchemaVersion=273] ["start time"=75.028µs] [gotSchemaVersion=273] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.423 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=215] [version=273] [2024/05/18 21:51:13.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=2.206085ms] [job="ID:215, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.429 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=215] [conn=25] [category=ddl] [job="ID:215, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.431 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=273] [neededSchemaVersion=274] ["start time"=39.278µs] [gotSchemaVersion=274] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.432 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=215] [version=274] [2024/05/18 21:51: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=274] ["take time"=2.076309ms] [job="ID:215, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.437 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=215] [conn=25] [category=ddl] [job="ID:215, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.440 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=274] [neededSchemaVersion=275] ["start time"=50.136µs] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.441 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=215] [version=275] [2024/05/18 21:51:13.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=275] ["take time"=2.81894ms] [job="ID:215, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.446 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=215] [tableIDs="[212]"] [comment="drop table: table ID"] [2024/05/18 21:51:13.447 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=215] [jobType="drop table"] [2024/05/18 21:51:13.447 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=215] [conn=25] [job="ID:215, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.451 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=215] [elementID=1] [startKey=7480000000000000d4] [endKey=7480000000000000d5] [2024/05/18 21:51:13.452 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=215] [2024/05/18 21:51:13.452 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.453 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=275] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:13.455 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.455 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:13.460 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=217] [conn=25] [category=ddl] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.463 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=275] [neededSchemaVersion=276] ["start time"=180.932µs] [gotSchemaVersion=276] [phyTblIDs="[216]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:13.464 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=217] [version=276] [2024/05/18 21:51: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=276] ["take time"=2.785704ms] [job="ID:217, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.470 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=217] [conn=25] [job="ID:217, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.473 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=217] [2024/05/18 21:51:13.473 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.474 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=276] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:13.478 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:218, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:13.478 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:218, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:13.486 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=218] [conn=25] [category=ddl] [job="ID:218, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.489 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=276] [neededSchemaVersion=277] ["start time"=240.214µs] [gotSchemaVersion=277] [phyTblIDs="[216]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.490 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=218] [version=277] [2024/05/18 21:51:13.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=277] ["take time"=2.104339ms] [job="ID:218, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:216, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.497 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=218] [conn=25] [category=ddl] [job="ID:218, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.502 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=277] [neededSchemaVersion=278] ["start time"=265.773µs] [gotSchemaVersion=278] [phyTblIDs="[216]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.503 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=218] [version=278] [2024/05/18 21:51:13.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=278] ["take time"=5.135771ms] [job="ID:218, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:216, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.513 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=218] [conn=25] [category=ddl] [job="ID:218, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.515 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=278] [neededSchemaVersion=279] ["start time"=184.417µs] [gotSchemaVersion=279] [phyTblIDs="[216]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.516 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=218] [version=279] [2024/05/18 21:51:13.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=279] ["take time"=2.451704ms] [job="ID:218, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:216, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.523 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=218] [conn=25] [category=ddl] [job="ID:218, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.523 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=218] [physicalTableID=216] [startKey=7480000000000000d85f728000000000000001] [endKey=7480000000000000d85f72800000000000000100] [2024/05/18 21:51:13.526 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=218] [2024/05/18 21:51:13.531 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=218] [conn=25] [category=ddl] [job="ID:218, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211209613313, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.533 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:218, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:216, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211209613313, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000d85f728000000000000001,EndKey:7480000000000000d85f72800000000000000100,First:false,PhysicalTableID:216,Ingest mode:false"] [2024/05/18 21:51:13.533 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=216] ["start key"=7480000000000000d85f728000000000000001] ["end key"=7480000000000000d85f72800000000000000100] [2024/05/18 21:51:13.533 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000d85f728000000000000001] [endKey=7480000000000000d85f72800000000000000100] [2024/05/18 21:51:13.534 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=216] ["end key"=7480000000000000d85f72800000000000000100] ["current end key"=7480000000000000d85f72800000000000000100] [2024/05/18 21:51:13.534 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=218] [2024/05/18 21:51:13.534 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=218] [2024/05/18 21:51:13.534 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=218] [2024/05/18 21:51:13.534 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 216, range: [7480000000000000d85f728000000000000001, 7480000000000000d85f72800000000000000100), jobID: 218"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000d85f7280000000000000010000] ["take time"=461.683µs] [2024/05/18 21:51:13.534 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=218] [2024/05/18 21:51:13.534 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000d85f728000000000000001] [2024/05/18 21:51:13.535 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:13.567 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=279] [neededSchemaVersion=280] ["start time"=170.279µs] [gotSchemaVersion=280] [phyTblIDs="[216]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.569 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=218] [version=280] [2024/05/18 21:51:13.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=280] ["take time"=2.807007ms] [job="ID:218, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:216, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211209613313, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.576 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=218] [jobType="modify column"] [2024/05/18 21:51:13.576 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=218] [conn=25] [job="ID:218, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:216, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211209613313, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.589 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=218] [2024/05/18 21:51:13.589 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.590 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=280] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:13.597 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.597 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:219, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:13.602 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=219] [conn=25] [category=ddl] [job="ID:219, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.604 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=280] [neededSchemaVersion=281] ["start time"=85.676µs] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.606 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=219] [version=281] [2024/05/18 21:51:13.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=281] ["take time"=6.325497ms] [job="ID:219, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:216, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.614 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=219] [conn=25] [category=ddl] [job="ID:219, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.616 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=281] [neededSchemaVersion=282] ["start time"=34.498µs] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.617 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=219] [version=282] [2024/05/18 21:51:13.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=282] ["take time"=2.068782ms] [job="ID:219, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.622 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=219] [conn=25] [category=ddl] [job="ID:219, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:216, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.624 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=282] [neededSchemaVersion=283] ["start time"=43.093µs] [gotSchemaVersion=283] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.625 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=219] [version=283] [2024/05/18 21:51:13.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=283] ["take time"=2.108756ms] [job="ID:219, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.631 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=219] [tableIDs="[216]"] [comment="drop table: table ID"] [2024/05/18 21:51:13.631 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=219] [jobType="drop table"] [2024/05/18 21:51:13.632 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=219] [conn=25] [job="ID:219, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:216, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.636 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=219] [elementID=1] [startKey=7480000000000000d8] [endKey=7480000000000000d9] [2024/05/18 21:51:13.637 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=219] [2024/05/18 21:51:13.637 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.638 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=283] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:13.640 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.640 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:13.646 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=221] [conn=25] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.648 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=283] [neededSchemaVersion=284] ["start time"=179.162µs] [gotSchemaVersion=284] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:13.651 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=221] [version=284] [2024/05/18 21:51:13.652 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=284] ["take time"=4.389043ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.658 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=221] [conn=25] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.660 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=221] [2024/05/18 21:51:13.660 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.661 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=284] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:13.663 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:222, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:13.663 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:222, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:13.671 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=222] [conn=25] [category=ddl] [job="ID:222, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.675 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=284] [neededSchemaVersion=285] ["start time"=240.668µs] [gotSchemaVersion=285] [phyTblIDs="[220]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.677 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=222] [version=285] [2024/05/18 21:51:13.680 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=285] ["take time"=4.55478ms] [job="ID:222, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.686 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=222] [conn=25] [category=ddl] [job="ID:222, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.688 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=285] [neededSchemaVersion=286] ["start time"=236.011µs] [gotSchemaVersion=286] [phyTblIDs="[220]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.689 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=222] [version=286] [2024/05/18 21:51:13.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=286] ["take time"=2.272183ms] [job="ID:222, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.696 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=222] [conn=25] [category=ddl] [job="ID:222, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.699 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=286] [neededSchemaVersion=287] ["start time"=245.689µs] [gotSchemaVersion=287] [phyTblIDs="[220]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.700 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=222] [version=287] [2024/05/18 21:51:13.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=287] ["take time"=2.308264ms] [job="ID:222, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:220, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.707 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=222] [conn=25] [category=ddl] [job="ID:222, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.708 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=222] [physicalTableID=220] [startKey=7480000000000000dc5f728000000000000001] [endKey=7480000000000000dc5f72800000000000000100] [2024/05/18 21:51:13.710 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/18 21:51:13.717 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=222] [conn=25] [category=ddl] [job="ID:222, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211257847809, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.719 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:222, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:220, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211257847809, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000dc5f728000000000000001,EndKey:7480000000000000dc5f72800000000000000100,First:false,PhysicalTableID:220,Ingest mode:false"] [2024/05/18 21:51:13.720 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=220] ["start key"=7480000000000000dc5f728000000000000001] ["end key"=7480000000000000dc5f72800000000000000100] [2024/05/18 21:51:13.720 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000dc5f728000000000000001] [endKey=7480000000000000dc5f72800000000000000100] [2024/05/18 21:51:13.721 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=220] ["end key"=7480000000000000dc5f72800000000000000100] ["current end key"=7480000000000000dc5f72800000000000000100] [2024/05/18 21:51:13.721 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=222] [2024/05/18 21:51:13.721 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=222] [2024/05/18 21:51:13.721 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=222] [2024/05/18 21:51:13.721 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 220, range: [7480000000000000dc5f728000000000000001, 7480000000000000dc5f72800000000000000100), jobID: 222"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000dc5f7280000000000000010000] ["take time"=396.209µs] [2024/05/18 21:51:13.721 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=222] [2024/05/18 21:51:13.721 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000dc5f728000000000000001] [2024/05/18 21:51:13.722 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:13.755 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=287] [neededSchemaVersion=288] ["start time"=157.286µs] [gotSchemaVersion=288] [phyTblIDs="[220]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.756 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=222] [version=288] [2024/05/18 21:51:13.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=288] ["take time"=2.272262ms] [job="ID:222, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:220, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211257847809, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.763 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="modify column"] [2024/05/18 21:51:13.763 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=222] [conn=25] [job="ID:222, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:220, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211257847809, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.768 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=222] [2024/05/18 21:51:13.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.770 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=288] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:13.772 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.772 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:13.777 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=223] [conn=25] [category=ddl] [job="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.779 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=288] [neededSchemaVersion=289] ["start time"=62.215µs] [gotSchemaVersion=289] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.779 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=223] [version=289] [2024/05/18 21:51:13.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=289] ["take time"=2.891446ms] [job="ID:223, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.786 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=223] [conn=25] [category=ddl] [job="ID:223, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.788 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=289] [neededSchemaVersion=290] ["start time"=56.537µs] [gotSchemaVersion=290] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.790 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=223] [version=290] [2024/05/18 21:51:13.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=290] ["take time"=3.047753ms] [job="ID:223, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.796 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=223] [conn=25] [category=ddl] [job="ID:223, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.801 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=290] [neededSchemaVersion=291] ["start time"=45.758µs] [gotSchemaVersion=291] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.802 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=223] [version=291] [2024/05/18 21:51:13.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=291] ["take time"=4.450252ms] [job="ID:223, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.809 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=223] [tableIDs="[220]"] [comment="drop table: table ID"] [2024/05/18 21:51:13.810 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=223] [jobType="drop table"] [2024/05/18 21:51:13.811 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=223] [conn=25] [job="ID:223, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.815 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=223] [2024/05/18 21:51:13.815 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.815 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=291] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:13.816 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=223] [elementID=1] [startKey=7480000000000000dc] [endKey=7480000000000000dd] [2024/05/18 21:51:13.817 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.817 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:13.823 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=225] [conn=25] [category=ddl] [job="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.825 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=291] [neededSchemaVersion=292] ["start time"=181.91µs] [gotSchemaVersion=292] [phyTblIDs="[224]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:13.827 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=225] [version=292] [2024/05/18 21:51:13.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=292] ["take time"=2.721962ms] [job="ID:225, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.845 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=225] [conn=25] [job="ID:225, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.816 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.849 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=225] [2024/05/18 21:51:13.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.851 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=292] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:13.853 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:226, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:13.853 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:226, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:13.858 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=226] [conn=25] [category=ddl] [job="ID:226, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.860 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=292] [neededSchemaVersion=293] ["start time"=220.015µs] [gotSchemaVersion=293] [phyTblIDs="[224]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.861 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=226] [version=293] [2024/05/18 21:51:13.862 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=293] ["take time"=2.013016ms] [job="ID:226, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.868 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=226] [conn=25] [category=ddl] [job="ID:226, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.871 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=293] [neededSchemaVersion=294] ["start time"=231.02µs] [gotSchemaVersion=294] [phyTblIDs="[224]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.872 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=226] [version=294] [2024/05/18 21:51:13.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=294] ["take time"=2.09787ms] [job="ID:226, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.880 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=226] [conn=25] [category=ddl] [job="ID:226, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.882 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=294] [neededSchemaVersion=295] ["start time"=224.257µs] [gotSchemaVersion=295] [phyTblIDs="[224]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.883 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=226] [version=295] [2024/05/18 21:51:13.884 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=295] ["take time"=2.224537ms] [job="ID:226, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:224, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.892 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=226] [conn=25] [category=ddl] [job="ID:226, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.892 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=226] [physicalTableID=224] [startKey=7480000000000000e05f728000000000000001] [endKey=7480000000000000e05f72800000000000000100] [2024/05/18 21:51:13.895 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=226] [2024/05/18 21:51:13.902 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=226] [conn=25] [category=ddl] [job="ID:226, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211306344449, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.904 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:226, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:224, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211306344449, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000e05f728000000000000001,EndKey:7480000000000000e05f72800000000000000100,First:false,PhysicalTableID:224,Ingest mode:false"] [2024/05/18 21:51:13.905 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=224] ["start key"=7480000000000000e05f728000000000000001] ["end key"=7480000000000000e05f72800000000000000100] [2024/05/18 21:51:13.905 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000e05f728000000000000001] [endKey=7480000000000000e05f72800000000000000100] [2024/05/18 21:51:13.906 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=224] ["end key"=7480000000000000e05f72800000000000000100] ["current end key"=7480000000000000e05f72800000000000000100] [2024/05/18 21:51:13.906 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=226] [2024/05/18 21:51:13.906 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=226] [2024/05/18 21:51:13.906 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=226] [2024/05/18 21:51:13.906 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 224, range: [7480000000000000e05f728000000000000001, 7480000000000000e05f72800000000000000100), jobID: 226"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000e05f7280000000000000010000] ["take time"=446.826µs] [2024/05/18 21:51:13.906 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=226] [2024/05/18 21:51:13.906 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000e05f728000000000000001] [2024/05/18 21:51:13.907 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:13.945 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=295] [neededSchemaVersion=296] ["start time"=233.658µs] [gotSchemaVersion=296] [phyTblIDs="[224]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:13.947 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=226] [version=296] [2024/05/18 21:51:13.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=296] ["take time"=2.378715ms] [job="ID:226, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:224, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211306344449, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.954 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=226] [jobType="modify column"] [2024/05/18 21:51:13.955 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=226] [conn=25] [job="ID:226, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:224, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:13.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211306344449, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:13.963 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=226] [2024/05/18 21:51:13.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:13.964 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=296] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:13.966 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:13.967 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:227, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:13.972 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=227] [conn=25] [category=ddl] [job="ID:227, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.974 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=296] [neededSchemaVersion=297] ["start time"=85.062µs] [gotSchemaVersion=297] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.976 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=227] [version=297] [2024/05/18 21:51:13.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=297] ["take time"=3.156028ms] [job="ID:227, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.981 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=227] [conn=25] [category=ddl] [job="ID:227, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.983 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=297] [neededSchemaVersion=298] ["start time"=43.098µs] [gotSchemaVersion=298] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.985 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=227] [version=298] [2024/05/18 21:51:13.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=298] ["take time"=3.004498ms] [job="ID:227, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.995 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=227] [conn=25] [category=ddl] [job="ID:227, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:13.997 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=298] [neededSchemaVersion=299] ["start time"=46.009µs] [gotSchemaVersion=299] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:13.999 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=227] [version=299] [2024/05/18 21:51:14.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=299] ["take time"=3.650589ms] [job="ID:227, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.005 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=227] [tableIDs="[224]"] [comment="drop table: table ID"] [2024/05/18 21:51:14.007 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=227] [jobType="drop table"] [2024/05/18 21:51:14.008 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=227] [conn=25] [job="ID:227, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:13.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.012 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=227] [elementID=1] [startKey=7480000000000000e0] [endKey=7480000000000000e1] [2024/05/18 21:51:14.013 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=227] [2024/05/18 21:51:14.013 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.013 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=299] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:14.018 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:229, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.018 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:229, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:14.024 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=229] [conn=25] [category=ddl] [job="ID:229, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.026 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=299] [neededSchemaVersion=300] ["start time"=175.137µs] [gotSchemaVersion=300] [phyTblIDs="[228]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:14.027 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=229] [version=300] [2024/05/18 21:51:14.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=300] ["take time"=2.743621ms] [job="ID:229, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:228, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.032 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.017 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.035 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=229] [2024/05/18 21:51:14.035 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.038 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=300] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:14.040 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:14.040 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:230, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:14.050 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=230] [conn=25] [category=ddl] [job="ID:230, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.053 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=300] [neededSchemaVersion=301] ["start time"=232.087µs] [gotSchemaVersion=301] [phyTblIDs="[228]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.054 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=230] [version=301] [2024/05/18 21:51:14.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=301] ["take time"=3.957808ms] [job="ID:230, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:228, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.064 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=230] [conn=25] [category=ddl] [job="ID:230, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.068 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=301] [neededSchemaVersion=302] ["start time"=256.211µs] [gotSchemaVersion=302] [phyTblIDs="[228]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.069 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=230] [version=302] [2024/05/18 21:51:14.073 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=302] ["take time"=5.861919ms] [job="ID:230, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:228, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.081 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=230] [conn=25] [category=ddl] [job="ID:230, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.084 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=302] [neededSchemaVersion=303] ["start time"=225.998µs] [gotSchemaVersion=303] [phyTblIDs="[228]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.085 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=230] [version=303] [2024/05/18 21:51:14.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=303] ["take time"=2.13668ms] [job="ID:230, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:228, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.091 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=230] [conn=25] [category=ddl] [job="ID:230, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.092 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=230] [physicalTableID=228] [startKey=7480000000000000e45f728000000000000001] [endKey=7480000000000000e45f72800000000000000100] [2024/05/18 21:51:14.099 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=230] [2024/05/18 21:51:14.105 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=230] [conn=25] [category=ddl] [job="ID:230, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211358511105, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.107 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:230, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:228, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211358511105, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000e45f728000000000000001,EndKey:7480000000000000e45f72800000000000000100,First:false,PhysicalTableID:228,Ingest mode:false"] [2024/05/18 21:51:14.108 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=228] ["start key"=7480000000000000e45f728000000000000001] ["end key"=7480000000000000e45f72800000000000000100] [2024/05/18 21:51:14.108 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000e45f728000000000000001] [endKey=7480000000000000e45f72800000000000000100] [2024/05/18 21:51:14.109 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=228] ["end key"=7480000000000000e45f72800000000000000100] ["current end key"=7480000000000000e45f72800000000000000100] [2024/05/18 21:51:14.109 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 228, range: [7480000000000000e45f728000000000000001, 7480000000000000e45f72800000000000000100), jobID: 230"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000e45f7280000000000000010000] ["take time"=493.156µs] [2024/05/18 21:51:14.109 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=230] [2024/05/18 21:51:14.110 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=230] [2024/05/18 21:51:14.110 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=230] [2024/05/18 21:51:14.110 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=230] [2024/05/18 21:51:14.110 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000e45f728000000000000001] [2024/05/18 21:51:14.110 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:14.147 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=303] [neededSchemaVersion=304] ["start time"=223.813µs] [gotSchemaVersion=304] [phyTblIDs="[228]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.148 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=230] [version=304] [2024/05/18 21:51:14.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=304] ["take time"=2.808266ms] [job="ID:230, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:228, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211358511105, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.156 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=230] [jobType="modify column"] [2024/05/18 21:51:14.156 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=230] [conn=25] [job="ID:230, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:228, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211358511105, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.162 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=230] [2024/05/18 21:51:14.162 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.163 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=304] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:14.165 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:231, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:228, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.165 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:231, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:228, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:14.172 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=231] [conn=25] [category=ddl] [job="ID:231, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=304] [neededSchemaVersion=305] ["start time"=66.069µs] [gotSchemaVersion=305] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.175 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=231] [version=305] [2024/05/18 21:51: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=305] ["take time"=2.110824ms] [job="ID:231, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:228, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.180 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=231] [conn=25] [category=ddl] [job="ID:231, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.182 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=305] [neededSchemaVersion=306] ["start time"=45.893µs] [gotSchemaVersion=306] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.183 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=231] [version=306] [2024/05/18 21:51:14.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=306] ["take time"=2.320065ms] [job="ID:231, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.188 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=231] [conn=25] [category=ddl] [job="ID:231, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:228, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.190 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=306] [neededSchemaVersion=307] ["start time"=39.309µs] [gotSchemaVersion=307] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=231] [version=307] [2024/05/18 21:51:14.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=307] ["take time"=2.878204ms] [job="ID:231, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.200 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=231] [tableIDs="[228]"] [comment="drop table: table ID"] [2024/05/18 21:51:14.201 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=231] [jobType="drop table"] [2024/05/18 21:51:14.201 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=231] [conn=25] [job="ID:231, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:228, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.209 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=231] [2024/05/18 21:51:14.209 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.209 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=307] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:14.209 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=231] [elementID=1] [startKey=7480000000000000e4] [endKey=7480000000000000e5] [2024/05/18 21:51:14.212 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.212 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:14.219 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=233] [conn=25] [category=ddl] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.222 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=307] [neededSchemaVersion=308] ["start time"=191.084µs] [gotSchemaVersion=308] [phyTblIDs="[232]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:14.223 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=233] [version=308] [2024/05/18 21:51:14.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=308] ["take time"=2.881817ms] [job="ID:233, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.230 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=233] [conn=25] [job="ID:233, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.235 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=233] [2024/05/18 21:51:14.235 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.239 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=308] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:14.241 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:14.241 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:234, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:14.248 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=234] [conn=25] [category=ddl] [job="ID:234, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.250 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=308] [neededSchemaVersion=309] ["start time"=249.65µs] [gotSchemaVersion=309] [phyTblIDs="[232]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.252 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=234] [version=309] [2024/05/18 21:51:14.252 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=309] ["take time"=2.010196ms] [job="ID:234, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.258 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=234] [conn=25] [category=ddl] [job="ID:234, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.260 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=309] [neededSchemaVersion=310] ["start time"=242.689µs] [gotSchemaVersion=310] [phyTblIDs="[232]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.261 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=234] [version=310] [2024/05/18 21:51:14.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=310] ["take time"=3.067135ms] [job="ID:234, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.270 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=234] [conn=25] [category=ddl] [job="ID:234, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.272 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=310] [neededSchemaVersion=311] ["start time"=262.969µs] [gotSchemaVersion=311] [phyTblIDs="[232]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.274 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=234] [version=311] [2024/05/18 21:51:14.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=311] ["take time"=2.957607ms] [job="ID:234, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:232, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.281 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=234] [conn=25] [category=ddl] [job="ID:234, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.281 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=234] [physicalTableID=232] [startKey=7480000000000000e85f728000000000000001] [endKey=7480000000000000e85f72800000000000000100] [2024/05/18 21:51:14.284 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=234] [2024/05/18 21:51:14.291 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=234] [conn=25] [category=ddl] [job="ID:234, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211408318465, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.293 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:234, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:232, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211408318465, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000e85f728000000000000001,EndKey:7480000000000000e85f72800000000000000100,First:false,PhysicalTableID:232,Ingest mode:false"] [2024/05/18 21:51:14.294 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=232] ["start key"=7480000000000000e85f728000000000000001] ["end key"=7480000000000000e85f72800000000000000100] [2024/05/18 21:51:14.294 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000e85f728000000000000001] [endKey=7480000000000000e85f72800000000000000100] [2024/05/18 21:51:14.294 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=232] ["end key"=7480000000000000e85f72800000000000000100] ["current end key"=7480000000000000e85f72800000000000000100] [2024/05/18 21:51:14.294 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=234] [2024/05/18 21:51:14.295 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 232, range: [7480000000000000e85f728000000000000001, 7480000000000000e85f72800000000000000100), jobID: 234"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000e85f7280000000000000010000] ["take time"=441.116µs] [2024/05/18 21:51:14.295 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=234] [2024/05/18 21:51:14.295 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=234] [2024/05/18 21:51:14.295 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=234] [2024/05/18 21:51:14.295 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000e85f728000000000000001] [2024/05/18 21:51:14.295 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:14.335 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=311] [neededSchemaVersion=312] ["start time"=225.454µs] [gotSchemaVersion=312] [phyTblIDs="[232]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.336 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=234] [version=312] [2024/05/18 21:51:14.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=312] ["take time"=2.725144ms] [job="ID:234, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:232, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211408318465, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.345 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=234] [jobType="modify column"] [2024/05/18 21:51:14.346 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=234] [conn=25] [job="ID:234, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:232, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.24 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211408318465, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.351 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=234] [2024/05/18 21:51:14.351 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.353 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=312] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:14.355 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.355 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:14.360 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=235] [conn=25] [category=ddl] [job="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.362 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=312] [neededSchemaVersion=313] ["start time"=84.051µs] [gotSchemaVersion=313] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.363 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=235] [version=313] [2024/05/18 21:51:14.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=313] ["take time"=2.319251ms] [job="ID:235, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.368 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=235] [conn=25] [category=ddl] [job="ID:235, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.370 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=313] [neededSchemaVersion=314] ["start time"=36.36µs] [gotSchemaVersion=314] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.371 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=235] [version=314] [2024/05/18 21:51:14.373 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=314] ["take time"=2.88699ms] [job="ID:235, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.378 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=235] [conn=25] [category=ddl] [job="ID:235, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.380 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=314] [neededSchemaVersion=315] ["start time"=38.085µs] [gotSchemaVersion=315] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.381 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=235] [version=315] [2024/05/18 21:51:14.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=315] ["take time"=2.278247ms] [job="ID:235, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.386 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=235] [tableIDs="[232]"] [comment="drop table: table ID"] [2024/05/18 21:51:14.387 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop table"] [2024/05/18 21:51:14.387 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=235] [conn=25] [job="ID:235, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.354 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.390 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=235] [elementID=1] [startKey=7480000000000000e8] [endKey=7480000000000000e9] [2024/05/18 21:51:14.391 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=235] [2024/05/18 21:51:14.392 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.392 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=315] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:14.395 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.395 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:14.399 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=237] [conn=25] [category=ddl] [job="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.402 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=315] [neededSchemaVersion=316] ["start time"=144.787µs] [gotSchemaVersion=316] [phyTblIDs="[236]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:14.403 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=237] [version=316] [2024/05/18 21:51:14.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=316] ["take time"=2.646879ms] [job="ID:237, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.410 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=237] [conn=25] [job="ID:237, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.413 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=237] [2024/05/18 21:51:14.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.414 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=316] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:14.416 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:14.416 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:14.421 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=238] [conn=25] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.423 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=316] [neededSchemaVersion=317] ["start time"=225.969µs] [gotSchemaVersion=317] [phyTblIDs="[236]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.424 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=238] [version=317] [2024/05/18 21:51:14.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=317] ["take time"=2.020585ms] [job="ID:238, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.430 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=238] [conn=25] [category=ddl] [job="ID:238, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.433 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=317] [neededSchemaVersion=318] ["start time"=266.359µs] [gotSchemaVersion=318] [phyTblIDs="[236]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.434 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=238] [version=318] [2024/05/18 21:51:14.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=318] ["take time"=2.400675ms] [job="ID:238, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.441 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=238] [conn=25] [category=ddl] [job="ID:238, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.444 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=318] [neededSchemaVersion=319] ["start time"=269.028µs] [gotSchemaVersion=319] [phyTblIDs="[236]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.445 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=238] [version=319] [2024/05/18 21:51:14.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=319] ["take time"=2.588786ms] [job="ID:238, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:236, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.453 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=238] [conn=25] [category=ddl] [job="ID:238, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.454 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=238] [physicalTableID=236] [startKey=7480000000000000ec5f728000000000000001] [endKey=7480000000000000ec5f72800000000000000100] [2024/05/18 21:51:14.457 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=238] [2024/05/18 21:51:14.462 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=238] [conn=25] [category=ddl] [job="ID:238, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211453407233, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.464 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:238, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:236, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211453407233, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000ec5f728000000000000001,EndKey:7480000000000000ec5f72800000000000000100,First:false,PhysicalTableID:236,Ingest mode:false"] [2024/05/18 21:51:14.465 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=236] ["start key"=7480000000000000ec5f728000000000000001] ["end key"=7480000000000000ec5f72800000000000000100] [2024/05/18 21:51:14.465 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000ec5f728000000000000001] [endKey=7480000000000000ec5f72800000000000000100] [2024/05/18 21:51:14.466 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=236] ["end key"=7480000000000000ec5f72800000000000000100] ["current end key"=7480000000000000ec5f72800000000000000100] [2024/05/18 21:51:14.466 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=238] [2024/05/18 21:51:14.466 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=238] [2024/05/18 21:51:14.466 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=238] [2024/05/18 21:51:14.466 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 236, range: [7480000000000000ec5f728000000000000001, 7480000000000000ec5f72800000000000000100), jobID: 238"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000ec5f7280000000000000010000] ["take time"=469.994µs] [2024/05/18 21:51:14.466 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=238] [2024/05/18 21:51:14.466 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000ec5f728000000000000001] [2024/05/18 21:51:14.467 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:14.500 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=319] [neededSchemaVersion=320] ["start time"=241.256µs] [gotSchemaVersion=320] [phyTblIDs="[236]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.501 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=238] [version=320] [2024/05/18 21:51:14.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=320] ["take time"=3.032511ms] [job="ID:238, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:236, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211453407233, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.508 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=238] [jobType="modify column"] [2024/05/18 21:51:14.508 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=238] [conn=25] [job="ID:238, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:236, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211453407233, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.514 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=238] [2024/05/18 21:51:14.514 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.518 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=320] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:14.520 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.520 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:239, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:14.525 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=239] [conn=25] [category=ddl] [job="ID:239, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.526 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=320] [neededSchemaVersion=321] ["start time"=79.074µs] [gotSchemaVersion=321] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.527 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=239] [version=321] [2024/05/18 21:51:14.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=321] ["take time"=2.31372ms] [job="ID:239, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.532 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=239] [conn=25] [category=ddl] [job="ID:239, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.534 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=321] [neededSchemaVersion=322] ["start time"=42.645µs] [gotSchemaVersion=322] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.535 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=239] [version=322] [2024/05/18 21:51:14.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=322] ["take time"=2.036001ms] [job="ID:239, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.543 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=239] [conn=25] [category=ddl] [job="ID:239, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.546 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=322] [neededSchemaVersion=323] ["start time"=44.544µs] [gotSchemaVersion=323] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.547 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=239] [version=323] [2024/05/18 21:51:14.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=323] ["take time"=2.931377ms] [job="ID:239, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.554 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=239] [tableIDs="[236]"] [comment="drop table: table ID"] [2024/05/18 21:51:14.554 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=239] [jobType="drop table"] [2024/05/18 21:51:14.554 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=239] [conn=25] [job="ID:239, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.560 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=239] [elementID=1] [startKey=7480000000000000ec] [endKey=7480000000000000ed] [2024/05/18 21:51:14.562 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=239] [2024/05/18 21:51:14.562 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.563 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=323] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:14.568 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.568 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:241, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:14.572 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=241] [conn=25] [category=ddl] [job="ID:241, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.574 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=323] [neededSchemaVersion=324] ["start time"=134.943µs] [gotSchemaVersion=324] [phyTblIDs="[240]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:14.575 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=241] [version=324] [2024/05/18 21:51:14.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=324] ["take time"=2.231493ms] [job="ID:241, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:240, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.581 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=241] [conn=25] [job="ID:241, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.583 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=241] [2024/05/18 21:51:14.583 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.585 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=324] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:14.587 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:14.587 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:14.594 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=242] [conn=25] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.596 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=324] [neededSchemaVersion=325] ["start time"=228.874µs] [gotSchemaVersion=325] [phyTblIDs="[240]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.598 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=242] [version=325] [2024/05/18 21:51:14.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=325] ["take time"=4.162005ms] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:240, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.606 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=242] [conn=25] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.608 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=325] [neededSchemaVersion=326] ["start time"=233.252µs] [gotSchemaVersion=326] [phyTblIDs="[240]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.609 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=242] [version=326] [2024/05/18 21:51: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=326] ["take time"=2.667986ms] [job="ID:242, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:240, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.616 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=242] [conn=25] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.619 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=326] [neededSchemaVersion=327] ["start time"=259.934µs] [gotSchemaVersion=327] [phyTblIDs="[240]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.620 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=242] [version=327] [2024/05/18 21:51:14.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=327] ["take time"=3.232878ms] [job="ID:242, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:240, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.628 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=242] [conn=25] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.629 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=242] [physicalTableID=240] [startKey=7480000000000000f05f728000000000000001] [endKey=7480000000000000f05f72800000000000000100] [2024/05/18 21:51:14.631 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=242] [2024/05/18 21:51:14.640 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=242] [conn=25] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211499282433, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.642 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:240, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211499282433, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000f05f728000000000000001,EndKey:7480000000000000f05f72800000000000000100,First:false,PhysicalTableID:240,Ingest mode:false"] [2024/05/18 21:51:14.643 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=240] ["start key"=7480000000000000f05f728000000000000001] ["end key"=7480000000000000f05f72800000000000000100] [2024/05/18 21:51:14.643 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000f05f728000000000000001] [endKey=7480000000000000f05f72800000000000000100] [2024/05/18 21:51:14.644 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=240] ["end key"=7480000000000000f05f72800000000000000100] ["current end key"=7480000000000000f05f72800000000000000100] [2024/05/18 21:51:14.644 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=242] [2024/05/18 21:51:14.644 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=242] [2024/05/18 21:51:14.644 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=242] [2024/05/18 21:51:14.644 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 240, range: [7480000000000000f05f728000000000000001, 7480000000000000f05f72800000000000000100), jobID: 242"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000f05f7280000000000000010000] ["take time"=435.082µs] [2024/05/18 21:51:14.644 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=242] [2024/05/18 21:51:14.644 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000f05f728000000000000001] [2024/05/18 21:51:14.645 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:14.681 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=327] [neededSchemaVersion=328] ["start time"=207.722µs] [gotSchemaVersion=328] [phyTblIDs="[240]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.682 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=242] [version=328] [2024/05/18 21:51:14.683 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=2.305719ms] [job="ID:242, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:240, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211499282433, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.688 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=242] [jobType="modify column"] [2024/05/18 21:51:14.688 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=242] [conn=25] [job="ID:242, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:240, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211499282433, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.694 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=242] [2024/05/18 21:51:14.694 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.695 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=328] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:14.697 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:240, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.698 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:243, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:240, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:14.703 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=243] [conn=25] [category=ddl] [job="ID:243, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.705 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=328] [neededSchemaVersion=329] ["start time"=71.755µs] [gotSchemaVersion=329] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.706 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=243] [version=329] [2024/05/18 21:51:14.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=329] ["take time"=2.720414ms] [job="ID:243, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:240, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.711 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=243] [conn=25] [category=ddl] [job="ID:243, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.713 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=329] [neededSchemaVersion=330] ["start time"=38.502µs] [gotSchemaVersion=330] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.714 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=243] [version=330] [2024/05/18 21:51: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=330] ["take time"=2.520815ms] [job="ID:243, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.721 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=243] [conn=25] [category=ddl] [job="ID:243, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:240, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.723 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=330] [neededSchemaVersion=331] ["start time"=33.486µs] [gotSchemaVersion=331] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.724 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=243] [version=331] [2024/05/18 21:51:14.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=331] ["take time"=2.835326ms] [job="ID:243, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.729 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=243] [tableIDs="[240]"] [comment="drop table: table ID"] [2024/05/18 21:51:14.730 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="drop table"] [2024/05/18 21:51:14.730 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=243] [conn=25] [job="ID:243, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:240, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.733 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=243] [elementID=1] [startKey=7480000000000000f0] [endKey=7480000000000000f1] [2024/05/18 21:51:14.734 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=243] [2024/05/18 21:51:14.734 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.734 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=331] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:14.736 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.736 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:14.741 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=245] [conn=25] [category=ddl] [job="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.743 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=331] [neededSchemaVersion=332] ["start time"=132.109µs] [gotSchemaVersion=332] [phyTblIDs="[244]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:14.744 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=245] [version=332] [2024/05/18 21:51:14.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=332] ["take time"=2.022451ms] [job="ID:245, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.750 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=245] [conn=25] [job="ID:245, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.752 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=245] [2024/05/18 21:51:14.752 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.753 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=332] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:14.756 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:14.756 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:14.761 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=246] [conn=25] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.763 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=332] [neededSchemaVersion=333] ["start time"=187.139µs] [gotSchemaVersion=333] [phyTblIDs="[244]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.764 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=246] [version=333] [2024/05/18 21:51:14.765 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=333] ["take time"=2.607711ms] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:244, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.770 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=246] [conn=25] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.773 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=333] [neededSchemaVersion=334] ["start time"=228.144µs] [gotSchemaVersion=334] [phyTblIDs="[244]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.774 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=246] [version=334] [2024/05/18 21:51:14.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=334] ["take time"=2.928108ms] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:244, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.783 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=246] [conn=25] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.785 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=334] [neededSchemaVersion=335] ["start time"=214.913µs] [gotSchemaVersion=335] [phyTblIDs="[244]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.787 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=246] [version=335] [2024/05/18 21:51:14.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=335] ["take time"=2.007492ms] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:244, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.794 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=246] [conn=25] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.795 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=246] [physicalTableID=244] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f72800000000000000100] [2024/05/18 21:51:14.800 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=246] [2024/05/18 21:51:14.806 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=246] [conn=25] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211542798337, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.807 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:244, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211542798337, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000f45f728000000000000001,EndKey:7480000000000000f45f72800000000000000100,First:false,PhysicalTableID:244,Ingest mode:false"] [2024/05/18 21:51:14.808 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=244] ["start key"=7480000000000000f45f728000000000000001] ["end key"=7480000000000000f45f72800000000000000100] [2024/05/18 21:51:14.808 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f72800000000000000100] [2024/05/18 21:51:14.809 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=244] ["end key"=7480000000000000f45f72800000000000000100] ["current end key"=7480000000000000f45f72800000000000000100] [2024/05/18 21:51:14.809 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=246] [2024/05/18 21:51:14.809 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=246] [2024/05/18 21:51:14.809 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=246] [2024/05/18 21:51:14.810 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 244, range: [7480000000000000f45f728000000000000001, 7480000000000000f45f72800000000000000100), jobID: 246"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000f45f7280000000000000010000] ["take time"=495.369µs] [2024/05/18 21:51:14.810 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=246] [2024/05/18 21:51:14.810 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000f45f728000000000000001] [2024/05/18 21:51:14.810 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:14.850 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=335] [neededSchemaVersion=336] ["start time"=239.614µs] [gotSchemaVersion=336] [phyTblIDs="[244]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.852 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=246] [version=336] [2024/05/18 21:51:14.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=336] ["take time"=2.498449ms] [job="ID:246, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211542798337, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.866 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=246] [jobType="modify column"] [2024/05/18 21:51:14.866 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=246] [conn=25] [job="ID:246, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:244, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211542798337, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.873 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=246] [2024/05/18 21:51:14.873 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.875 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=336] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:14.877 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:247, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.877 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:247, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:14.891 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=247] [conn=25] [category=ddl] [job="ID:247, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.894 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=336] [neededSchemaVersion=337] ["start time"=81.888µs] [gotSchemaVersion=337] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.895 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=247] [version=337] [2024/05/18 21:51: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=337] ["take time"=2.09638ms] [job="ID:247, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:244, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.902 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=247] [conn=25] [category=ddl] [job="ID:247, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.904 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=337] [neededSchemaVersion=338] ["start time"=41.658µs] [gotSchemaVersion=338] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.905 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=247] [version=338] [2024/05/18 21:51:14.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=338] ["take time"=2.679224ms] [job="ID:247, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.911 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=247] [conn=25] [category=ddl] [job="ID:247, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.913 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=338] [neededSchemaVersion=339] ["start time"=37.81µs] [gotSchemaVersion=339] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:14.914 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=247] [version=339] [2024/05/18 21:51:14.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=339] ["take time"=3.889223ms] [job="ID:247, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.922 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=247] [tableIDs="[244]"] [comment="drop table: table ID"] [2024/05/18 21:51:14.923 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=247] [jobType="drop table"] [2024/05/18 21:51:14.923 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=247] [conn=25] [job="ID:247, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:14.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.928 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=247] [2024/05/18 21:51:14.928 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.928 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=339] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:14.931 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=247] [elementID=1] [startKey=7480000000000000f4] [endKey=7480000000000000f5] [2024/05/18 21:51:14.931 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:249, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:14.931 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:249, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:14.936 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=249] [conn=25] [category=ddl] [job="ID:249, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.939 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=339] [neededSchemaVersion=340] ["start time"=167.299µs] [gotSchemaVersion=340] [phyTblIDs="[248]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:14.940 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=249] [version=340] [2024/05/18 21:51:14.941 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=2.039194ms] [job="ID:249, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:14.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.944 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=249] [conn=25] [job="ID:249, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:14.950 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=249] [2024/05/18 21:51:14.950 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:14.951 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=340] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:14.953 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:14.953 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:250, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:14.958 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=250] [conn=25] [category=ddl] [job="ID:250, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.961 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=340] [neededSchemaVersion=341] ["start time"=255.55µs] [gotSchemaVersion=341] [phyTblIDs="[248]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.962 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=250] [version=341] [2024/05/18 21:51:14.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=341] ["take time"=2.084181ms] [job="ID:250, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.969 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=250] [conn=25] [category=ddl] [job="ID:250, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.972 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=341] [neededSchemaVersion=342] ["start time"=279.866µs] [gotSchemaVersion=342] [phyTblIDs="[248]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.973 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=250] [version=342] [2024/05/18 21:51:14.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=342] ["take time"=2.390039ms] [job="ID:250, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.980 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=250] [conn=25] [category=ddl] [job="ID:250, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.982 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=342] [neededSchemaVersion=343] ["start time"=244.227µs] [gotSchemaVersion=343] [phyTblIDs="[248]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:14.984 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=250] [version=343] [2024/05/18 21:51:14.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=343] ["take time"=2.757468ms] [job="ID:250, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:248, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.992 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=250] [conn=25] [category=ddl] [job="ID:250, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:14.992 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=250] [physicalTableID=248] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f72800000000000000100] [2024/05/18 21:51:14.995 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=250] [2024/05/18 21:51:15.004 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=250] [conn=25] [category=ddl] [job="ID:250, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211594702848, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.006 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:250, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:248, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211594702848, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000f85f728000000000000001,EndKey:7480000000000000f85f72800000000000000100,First:false,PhysicalTableID:248,Ingest mode:false"] [2024/05/18 21:51:15.007 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=248] ["start key"=7480000000000000f85f728000000000000001] ["end key"=7480000000000000f85f72800000000000000100] [2024/05/18 21:51:15.007 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f72800000000000000100] [2024/05/18 21:51:15.008 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=248] ["end key"=7480000000000000f85f72800000000000000100] ["current end key"=7480000000000000f85f72800000000000000100] [2024/05/18 21:51:15.008 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=250] [2024/05/18 21:51:15.008 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 2, tp update column"] [task="taskID: 1, physicalTableID: 248, range: [7480000000000000f85f728000000000000001, 7480000000000000f85f72800000000000000100), jobID: 250"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000f85f7280000000000000010000] ["take time"=584.531µs] [2024/05/18 21:51:15.008 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=250] [2024/05/18 21:51:15.008 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=250] [2024/05/18 21:51:15.008 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=250] [2024/05/18 21:51:15.008 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000f85f728000000000000001] [2024/05/18 21:51:15.009 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:15.049 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=343] [neededSchemaVersion=344] ["start time"=217.253µs] [gotSchemaVersion=344] [phyTblIDs="[248]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.050 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=250] [version=344] [2024/05/18 21:51:15.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=344] ["take time"=2.93111ms] [job="ID:250, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:248, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211594702848, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.058 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="modify column"] [2024/05/18 21:51:15.059 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=250] [conn=25] [job="ID:250, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:248, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:14.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211594702848, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.065 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=250] [2024/05/18 21:51:15.065 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.067 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=344] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:15.069 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.069 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:15.074 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=251] [conn=25] [category=ddl] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.077 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=344] [neededSchemaVersion=345] ["start time"=86.89µs] [gotSchemaVersion=345] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.078 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=251] [version=345] [2024/05/18 21:51:15.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=345] ["take time"=3.831124ms] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.086 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=251] [conn=25] [category=ddl] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.094 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=345] [neededSchemaVersion=346] ["start time"=34.488µs] [gotSchemaVersion=346] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.095 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=251] [version=346] [2024/05/18 21:51:15.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=346] ["take time"=2.752664ms] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.100 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=251] [conn=25] [category=ddl] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.103 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=346] [neededSchemaVersion=347] ["start time"=43.449µs] [gotSchemaVersion=347] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.104 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=251] [version=347] [2024/05/18 21:51:15.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=347] ["take time"=2.071388ms] [job="ID:251, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.108 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=251] [tableIDs="[248]"] [comment="drop table: table ID"] [2024/05/18 21:51:15.109 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=251] [jobType="drop table"] [2024/05/18 21:51:15.109 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=251] [conn=25] [job="ID:251, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.113 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=251] [elementID=1] [startKey=7480000000000000f8] [endKey=7480000000000000f9] [2024/05/18 21:51:15.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=251] [2024/05/18 21:51:15.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.116 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=347] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:15.119 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.119 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:15.124 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=253] [conn=25] [category=ddl] [job="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.127 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=347] [neededSchemaVersion=348] ["start time"=197.07µs] [gotSchemaVersion=348] [phyTblIDs="[252]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:15.128 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=253] [version=348] [2024/05/18 21:51:15.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=348] ["take time"=2.090883ms] [job="ID:253, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.133 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=253] [conn=25] [job="ID:253, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.136 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=253] [2024/05/18 21:51:15.136 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.145 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=348] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:15.147 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:254, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:15.147 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:254, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:15.155 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=254] [conn=25] [category=ddl] [job="ID:254, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.157 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=348] [neededSchemaVersion=349] ["start time"=180.455µs] [gotSchemaVersion=349] [phyTblIDs="[252]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.158 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=254] [version=349] [2024/05/18 21:51:15.160 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=349] ["take time"=2.562087ms] [job="ID:254, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.166 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=254] [conn=25] [category=ddl] [job="ID:254, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.168 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=349] [neededSchemaVersion=350] ["start time"=250.079µs] [gotSchemaVersion=350] [phyTblIDs="[252]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.169 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=254] [version=350] [2024/05/18 21:51:15.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=350] ["take time"=2.038936ms] [job="ID:254, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.177 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=254] [conn=25] [category=ddl] [job="ID:254, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.179 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=350] [neededSchemaVersion=351] ["start time"=178.067µs] [gotSchemaVersion=351] [phyTblIDs="[252]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.180 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=254] [version=351] [2024/05/18 21:51:15.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=351] ["take time"=2.546366ms] [job="ID:254, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:252, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.187 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=254] [conn=25] [category=ddl] [job="ID:254, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.188 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=254] [physicalTableID=252] [startKey=7480000000000000fc5f728000000000000001] [endKey=7480000000000000fc5f72800000000000000100] [2024/05/18 21:51:15.190 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=254] [2024/05/18 21:51:15.196 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=254] [conn=25] [category=ddl] [job="ID:254, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211645820929, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.198 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:254, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:252, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211645820929, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000000fc5f728000000000000001,EndKey:7480000000000000fc5f72800000000000000100,First:false,PhysicalTableID:252,Ingest mode:false"] [2024/05/18 21:51:15.199 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=252] ["start key"=7480000000000000fc5f728000000000000001] ["end key"=7480000000000000fc5f72800000000000000100] [2024/05/18 21:51:15.199 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000fc5f728000000000000001] [endKey=7480000000000000fc5f72800000000000000100] [2024/05/18 21:51:15.199 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=252] ["end key"=7480000000000000fc5f72800000000000000100] ["current end key"=7480000000000000fc5f72800000000000000100] [2024/05/18 21:51:15.199 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=254] [2024/05/18 21:51:15.199 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=254] [2024/05/18 21:51:15.199 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=254] [2024/05/18 21:51:15.199 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 252, range: [7480000000000000fc5f728000000000000001, 7480000000000000fc5f72800000000000000100), jobID: 254"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000fc5f7280000000000000010000] ["take time"=410.157µs] [2024/05/18 21:51:15.200 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=254] [2024/05/18 21:51:15.200 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000fc5f728000000000000001] [2024/05/18 21:51:15.200 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:15.241 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=351] [neededSchemaVersion=352] ["start time"=220.307µs] [gotSchemaVersion=352] [phyTblIDs="[252]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.242 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=254] [version=352] [2024/05/18 21:51:15.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=352] ["take time"=2.461677ms] [job="ID:254, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:252, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211645820929, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.249 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=254] [jobType="modify column"] [2024/05/18 21:51:15.249 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=254] [conn=25] [job="ID:254, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:252, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.146 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211645820929, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.255 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=254] [2024/05/18 21:51:15.255 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.257 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=352] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:15.259 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:255, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.259 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:255, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:15.265 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=255] [conn=25] [category=ddl] [job="ID:255, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.267 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=352] [neededSchemaVersion=353] ["start time"=74.987µs] [gotSchemaVersion=353] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.269 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=255] [version=353] [2024/05/18 21:51:15.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=353] ["take time"=2.131438ms] [job="ID:255, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.283 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=255] [conn=25] [category=ddl] [job="ID:255, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.285 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=353] [neededSchemaVersion=354] ["start time"=43.213µs] [gotSchemaVersion=354] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.286 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=255] [version=354] [2024/05/18 21:51:15.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=354] ["take time"=2.693048ms] [job="ID:255, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.295 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=255] [conn=25] [category=ddl] [job="ID:255, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.297 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=354] [neededSchemaVersion=355] ["start time"=46.778µs] [gotSchemaVersion=355] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.298 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=255] [version=355] [2024/05/18 21:51:15.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=355] ["take time"=2.814021ms] [job="ID:255, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.303 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=255] [tableIDs="[252]"] [comment="drop table: table ID"] [2024/05/18 21:51:15.304 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=255] [jobType="drop table"] [2024/05/18 21:51:15.304 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=255] [conn=25] [job="ID:255, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.308 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=255] [elementID=1] [startKey=7480000000000000fc] [endKey=7480000000000000fd] [2024/05/18 21:51:15.309 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=255] [2024/05/18 21:51:15.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.309 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=355] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:15.312 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.312 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:15.317 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=257] [conn=25] [category=ddl] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.320 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=355] [neededSchemaVersion=356] ["start time"=208.491µs] [gotSchemaVersion=356] [phyTblIDs="[256]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:15.321 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=257] [version=356] [2024/05/18 21:51:15.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=356] ["take time"=2.53761ms] [job="ID:257, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.326 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=257] [conn=25] [job="ID:257, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.329 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=257] [2024/05/18 21:51:15.329 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.331 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=356] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:15.333 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:258, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:15.333 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:258, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:15.339 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=258] [conn=25] [category=ddl] [job="ID:258, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.342 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=356] [neededSchemaVersion=357] ["start time"=228.335µs] [gotSchemaVersion=357] [phyTblIDs="[256]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.343 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=258] [version=357] [2024/05/18 21:51:15.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=357] ["take time"=2.243644ms] [job="ID:258, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:256, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.350 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=258] [conn=25] [category=ddl] [job="ID:258, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.352 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=357] [neededSchemaVersion=358] ["start time"=208.229µs] [gotSchemaVersion=358] [phyTblIDs="[256]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.353 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=258] [version=358] [2024/05/18 21:51:15.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=358] ["take time"=2.217899ms] [job="ID:258, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:256, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.360 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=258] [conn=25] [category=ddl] [job="ID:258, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.362 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=358] [neededSchemaVersion=359] ["start time"=211.605µs] [gotSchemaVersion=359] [phyTblIDs="[256]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.363 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=258] [version=359] [2024/05/18 21:51:15.363 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=2.015687ms] [job="ID:258, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:256, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.369 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=258] [conn=25] [category=ddl] [job="ID:258, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.369 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=258] [physicalTableID=256] [startKey=7480000000000001005f728000000000000001] [endKey=7480000000000001005f72800000000000000100] [2024/05/18 21:51:15.372 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=258] [2024/05/18 21:51:15.376 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=258] [conn=25] [category=ddl] [job="ID:258, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211693531137, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.378 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:258, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:256, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211693531137, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000001005f728000000000000001,EndKey:7480000000000001005f72800000000000000100,First:false,PhysicalTableID:256,Ingest mode:false"] [2024/05/18 21:51:15.379 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=256] ["start key"=7480000000000001005f728000000000000001] ["end key"=7480000000000001005f72800000000000000100] [2024/05/18 21:51:15.379 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000001005f728000000000000001] [endKey=7480000000000001005f72800000000000000100] [2024/05/18 21:51:15.379 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=256] ["end key"=7480000000000001005f72800000000000000100] ["current end key"=7480000000000001005f72800000000000000100] [2024/05/18 21:51:15.379 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=258] [2024/05/18 21:51:15.379 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=258] [2024/05/18 21:51:15.379 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=258] [2024/05/18 21:51:15.380 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 256, range: [7480000000000001005f728000000000000001, 7480000000000001005f72800000000000000100), jobID: 258"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000001005f7280000000000000010000] ["take time"=442.924µs] [2024/05/18 21:51:15.380 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=258] [2024/05/18 21:51:15.380 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000001005f728000000000000001] [2024/05/18 21:51:15.380 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:15.417 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=359] [neededSchemaVersion=360] ["start time"=206.065µs] [gotSchemaVersion=360] [phyTblIDs="[256]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.418 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=258] [version=360] [2024/05/18 21:51:15.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=360] ["take time"=2.451456ms] [job="ID:258, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:256, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211693531137, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.426 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=258] [jobType="modify column"] [2024/05/18 21:51:15.427 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=258] [conn=25] [job="ID:258, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:256, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211693531137, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.432 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=258] [2024/05/18 21:51:15.432 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.433 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=360] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:15.435 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.435 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:259, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:15.441 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=259] [conn=25] [category=ddl] [job="ID:259, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.443 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=360] [neededSchemaVersion=361] ["start time"=84.672µs] [gotSchemaVersion=361] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.444 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=259] [version=361] [2024/05/18 21:51:15.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=361] ["take time"=2.716539ms] [job="ID:259, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:256, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.453 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=259] [conn=25] [category=ddl] [job="ID:259, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.455 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=361] [neededSchemaVersion=362] ["start time"=37.654µs] [gotSchemaVersion=362] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.456 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=259] [version=362] [2024/05/18 21:51:15.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=362] ["take time"=2.238537ms] [job="ID:259, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.474 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=259] [conn=25] [category=ddl] [job="ID:259, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:256, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.476 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=362] [neededSchemaVersion=363] ["start time"=35.034µs] [gotSchemaVersion=363] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.477 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=259] [version=363] [2024/05/18 21:51:15.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=363] ["take time"=2.333528ms] [job="ID:259, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.481 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=259] [tableIDs="[256]"] [comment="drop table: table ID"] [2024/05/18 21:51:15.482 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=259] [jobType="drop table"] [2024/05/18 21:51:15.483 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=259] [conn=25] [job="ID:259, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:256, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.487 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=259] [2024/05/18 21:51:15.488 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.488 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=363] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:15.491 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.491 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:15.492 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=259] [elementID=1] [startKey=748000000000000100] [endKey=748000000000000101] [2024/05/18 21:51:15.499 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=261] [conn=25] [category=ddl] [job="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.501 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=363] [neededSchemaVersion=364] ["start time"=186.094µs] [gotSchemaVersion=364] [phyTblIDs="[260]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:15.503 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=261] [version=364] [2024/05/18 21:51:15.503 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=2.287154ms] [job="ID:261, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.510 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=261] [conn=25] [job="ID:261, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.516 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=261] [2024/05/18 21:51:15.517 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.518 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=364] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:15.523 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:15.524 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:262, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:15.529 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=262] [conn=25] [category=ddl] [job="ID:262, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.532 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=364] [neededSchemaVersion=365] ["start time"=189.777µs] [gotSchemaVersion=365] [phyTblIDs="[260]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.533 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=262] [version=365] [2024/05/18 21:51:15.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=365] ["take time"=2.827655ms] [job="ID:262, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.542 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=262] [conn=25] [category=ddl] [job="ID:262, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.545 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=365] [neededSchemaVersion=366] ["start time"=263.973µs] [gotSchemaVersion=366] [phyTblIDs="[260]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.546 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=262] [version=366] [2024/05/18 21:51:15.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=366] ["take time"=2.629856ms] [job="ID:262, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.554 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=262] [conn=25] [category=ddl] [job="ID:262, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.556 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=366] [neededSchemaVersion=367] ["start time"=269.195µs] [gotSchemaVersion=367] [phyTblIDs="[260]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.558 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=262] [version=367] [2024/05/18 21:51:15.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=367] ["take time"=2.616263ms] [job="ID:262, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:260, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.565 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=262] [conn=25] [category=ddl] [job="ID:262, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.566 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=262] [physicalTableID=260] [startKey=7480000000000001045f728000000000000001] [endKey=7480000000000001045f72800000000000000100] [2024/05/18 21:51:15.569 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=262] [2024/05/18 21:51:15.575 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=262] [conn=25] [category=ddl] [job="ID:262, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211744911361, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.577 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:262, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:260, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211744911361, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000001045f728000000000000001,EndKey:7480000000000001045f72800000000000000100,First:false,PhysicalTableID:260,Ingest mode:false"] [2024/05/18 21:51:15.578 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=260] ["start key"=7480000000000001045f728000000000000001] ["end key"=7480000000000001045f72800000000000000100] [2024/05/18 21:51:15.578 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000001045f728000000000000001] [endKey=7480000000000001045f72800000000000000100] [2024/05/18 21:51:15.579 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=260] ["end key"=7480000000000001045f72800000000000000100] ["current end key"=7480000000000001045f72800000000000000100] [2024/05/18 21:51:15.579 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=262] [2024/05/18 21:51:15.579 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=262] [2024/05/18 21:51:15.579 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=262] [2024/05/18 21:51:15.579 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 260, range: [7480000000000001045f728000000000000001, 7480000000000001045f72800000000000000100), jobID: 262"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000001045f7280000000000000010000] ["take time"=475.229µs] [2024/05/18 21:51:15.579 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=262] [2024/05/18 21:51:15.579 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000001045f728000000000000001] [2024/05/18 21:51:15.580 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:15.620 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=367] [neededSchemaVersion=368] ["start time"=220.88µs] [gotSchemaVersion=368] [phyTblIDs="[260]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.621 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=262] [version=368] [2024/05/18 21:51:15.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=368] ["take time"=2.031631ms] [job="ID:262, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:260, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211744911361, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.627 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=262] [jobType="modify column"] [2024/05/18 21:51:15.628 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=262] [conn=25] [job="ID:262, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:260, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211744911361, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.634 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=262] [2024/05/18 21:51:15.634 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.635 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=368] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:15.637 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.637 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:15.641 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=263] [conn=25] [category=ddl] [job="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.642 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=368] [neededSchemaVersion=369] ["start time"=74.572µs] [gotSchemaVersion=369] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.644 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=263] [version=369] [2024/05/18 21:51:15.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=369] ["take time"=2.016564ms] [job="ID:263, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.649 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=263] [conn=25] [category=ddl] [job="ID:263, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.651 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=369] [neededSchemaVersion=370] ["start time"=36.232µs] [gotSchemaVersion=370] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.652 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=263] [version=370] [2024/05/18 21:51:15.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=370] ["take time"=2.662253ms] [job="ID:263, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.657 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=263] [conn=25] [category=ddl] [job="ID:263, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.659 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=370] [neededSchemaVersion=371] ["start time"=53.385µs] [gotSchemaVersion=371] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.660 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=263] [version=371] [2024/05/18 21:51:15.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=371] ["take time"=2.723546ms] [job="ID:263, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.666 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=263] [tableIDs="[260]"] [comment="drop table: table ID"] [2024/05/18 21:51:15.667 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=263] [jobType="drop table"] [2024/05/18 21:51:15.667 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=263] [conn=25] [job="ID:263, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.671 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=263] [elementID=1] [startKey=748000000000000104] [endKey=748000000000000105] [2024/05/18 21:51:15.672 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=263] [2024/05/18 21:51:15.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.672 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=371] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:15.675 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.675 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:15.680 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=265] [conn=25] [category=ddl] [job="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.683 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=371] [neededSchemaVersion=372] ["start time"=200.019µs] [gotSchemaVersion=372] [phyTblIDs="[264]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:15.684 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=265] [version=372] [2024/05/18 21:51:15.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=372] ["take time"=2.930177ms] [job="ID:265, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.694 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=265] [conn=25] [job="ID:265, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.673 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.698 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=265] [2024/05/18 21:51:15.698 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.699 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=372] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:15.702 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:15.702 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:266, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:15.705 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=266] [conn=25] [category=ddl] [job="ID:266, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.708 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=372] [neededSchemaVersion=373] ["start time"=171.446µs] [gotSchemaVersion=373] [phyTblIDs="[264]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.709 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=266] [version=373] [2024/05/18 21:51:15.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=373] ["take time"=2.831971ms] [job="ID:266, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.716 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=266] [conn=25] [category=ddl] [job="ID:266, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.718 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=373] [neededSchemaVersion=374] ["start time"=175.407µs] [gotSchemaVersion=374] [phyTblIDs="[264]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.719 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=266] [version=374] [2024/05/18 21:51:15.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=374] ["take time"=2.777184ms] [job="ID:266, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.728 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=266] [conn=25] [category=ddl] [job="ID:266, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.730 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=374] [neededSchemaVersion=375] ["start time"=170.802µs] [gotSchemaVersion=375] [phyTblIDs="[264]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.731 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=266] [version=375] [2024/05/18 21:51:15.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=375] ["take time"=2.015153ms] [job="ID:266, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:264, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.737 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=266] [conn=25] [category=ddl] [job="ID:266, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.738 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=266] [physicalTableID=264] [startKey=7480000000000001085f728000000000000001] [endKey=7480000000000001085f72800000000000000100] [2024/05/18 21:51:15.741 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=266] [2024/05/18 21:51:15.746 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=266] [conn=25] [category=ddl] [job="ID:266, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211790262272, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.748 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:266, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:264, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211790262272, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:7480000000000001085f728000000000000001,EndKey:7480000000000001085f72800000000000000100,First:false,PhysicalTableID:264,Ingest mode:false"] [2024/05/18 21:51:15.749 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=264] ["start key"=7480000000000001085f728000000000000001] ["end key"=7480000000000001085f72800000000000000100] [2024/05/18 21:51:15.749 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000001085f728000000000000001] [endKey=7480000000000001085f72800000000000000100] [2024/05/18 21:51:15.749 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=264] ["end key"=7480000000000001085f72800000000000000100] ["current end key"=7480000000000001085f72800000000000000100] [2024/05/18 21:51:15.749 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=266] [2024/05/18 21:51:15.749 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=266] [2024/05/18 21:51:15.749 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=266] [2024/05/18 21:51:15.750 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 264, range: [7480000000000001085f728000000000000001, 7480000000000001085f72800000000000000100), jobID: 266"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000001085f7280000000000000010000] ["take time"=400.281µs] [2024/05/18 21:51:15.750 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=266] [2024/05/18 21:51:15.750 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000001085f728000000000000001] [2024/05/18 21:51:15.750 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:15.788 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=375] [neededSchemaVersion=376] ["start time"=157.14µs] [gotSchemaVersion=376] [phyTblIDs="[264]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.789 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=266] [version=376] [2024/05/18 21:51:15.790 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=2.624594ms] [job="ID:266, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:264, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211790262272, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.797 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=266] [jobType="modify column"] [2024/05/18 21:51:15.798 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=266] [conn=25] [job="ID:266, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:264, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211790262272, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.803 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=266] [2024/05/18 21:51:15.803 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.805 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=376] [cur_db=test] [sql="drop table if exists t_mc"] [user=] [2024/05/18 21:51:15.807 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:267, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.807 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:267, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t_mc"] [2024/05/18 21:51:15.812 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=267] [conn=25] [category=ddl] [job="ID:267, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.814 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=376] [neededSchemaVersion=377] ["start time"=83.398µs] [gotSchemaVersion=377] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.815 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=267] [version=377] [2024/05/18 21:51:15.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=377] ["take time"=2.304842ms] [job="ID:267, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.821 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=267] [conn=25] [category=ddl] [job="ID:267, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.823 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=377] [neededSchemaVersion=378] ["start time"=47.45µs] [gotSchemaVersion=378] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.824 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=267] [version=378] [2024/05/18 21:51:15.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=378] ["take time"=2.251959ms] [job="ID:267, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.830 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=267] [conn=25] [category=ddl] [job="ID:267, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.832 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=378] [neededSchemaVersion=379] ["start time"=44.767µs] [gotSchemaVersion=379] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:15.833 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=267] [version=379] [2024/05/18 21:51:15.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=379] ["take time"=2.595457ms] [job="ID:267, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.838 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=267] [tableIDs="[264]"] [comment="drop table: table ID"] [2024/05/18 21:51:15.839 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=267] [jobType="drop table"] [2024/05/18 21:51:15.839 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=267] [conn=25] [job="ID:267, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:15.806 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.845 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=267] [elementID=1] [startKey=748000000000000108] [endKey=748000000000000109] [2024/05/18 21:51:15.845 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=267] [2024/05/18 21:51:15.845 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.846 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=379] [cur_db=test] [sql="create table t_mc(a time)"] [user=] [2024/05/18 21:51:15.849 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:269, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:268, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:15.849 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:269, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:268, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_mc(a time)"] [2024/05/18 21:51:15.855 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=269] [conn=25] [category=ddl] [job="ID:269, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:268, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.862 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=379] [neededSchemaVersion=380] ["start time"=226.792µs] [gotSchemaVersion=380] [phyTblIDs="[268]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:15.864 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=269] [version=380] [2024/05/18 21:51:15.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=380] ["take time"=2.219896ms] [job="ID:269, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:268, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:15.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.870 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=269] [conn=25] [job="ID:269, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:268, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:15.874 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=269] [2024/05/18 21:51:15.874 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:15.875 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=380] [cur_db=test] [sql="alter table t_mc modify a timestamp"] [user=] [2024/05/18 21:51:15.877 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:268, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:51:15.877 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:270, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:268, RowCount:0, ArgLen:5, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_mc modify a timestamp"] [2024/05/18 21:51:15.885 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=270] [conn=25] [category=ddl] [job="ID:270, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:268, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.887 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=380] [neededSchemaVersion=381] ["start time"=174.225µs] [gotSchemaVersion=381] [phyTblIDs="[268]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.889 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=270] [version=381] [2024/05/18 21:51:15.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=381] ["take time"=2.73338ms] [job="ID:270, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:268, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.894 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=270] [conn=25] [category=ddl] [job="ID:270, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:268, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.902 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=381] [neededSchemaVersion=382] ["start time"=278.203µs] [gotSchemaVersion=382] [phyTblIDs="[268]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.903 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=270] [version=382] [2024/05/18 21:51:15.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=382] ["take time"=2.527396ms] [job="ID:270, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:268, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.910 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=270] [conn=25] [category=ddl] [job="ID:270, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:268, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.912 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=382] [neededSchemaVersion=383] ["start time"=293.808µs] [gotSchemaVersion=383] [phyTblIDs="[268]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.914 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=270] [version=383] [2024/05/18 21:51:15.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=383] ["take time"=3.169149ms] [job="ID:270, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:268, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.923 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=270] [conn=25] [category=ddl] [job="ID:270, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:268, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.923 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=270] [physicalTableID=268] [startKey=74800000000000010c5f728000000000000001] [endKey=74800000000000010c5f72800000000000000100] [2024/05/18 21:51:15.926 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=270] [2024/05/18 21:51:15.932 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=270] [conn=25] [category=ddl] [job="ID:270, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:268, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211838758913, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.934 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:270, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:268, RowCount:0, ArgLen:8, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211838758913, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:2,StartKey:74800000000000010c5f728000000000000001,EndKey:74800000000000010c5f72800000000000000100,First:false,PhysicalTableID:268,Ingest mode:false"] [2024/05/18 21:51:15.935 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=268] ["start key"=74800000000000010c5f728000000000000001] ["end key"=74800000000000010c5f72800000000000000100] [2024/05/18 21:51:15.935 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000010c5f728000000000000001] [endKey=74800000000000010c5f72800000000000000100] [2024/05/18 21:51:15.935 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=268] ["end key"=74800000000000010c5f72800000000000000100] ["current end key"=74800000000000010c5f72800000000000000100] [2024/05/18 21:51:15.935 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=270] [2024/05/18 21:51:15.935 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=270] [2024/05/18 21:51:15.935 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=270] [2024/05/18 21:51:15.936 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 268, range: [74800000000000010c5f728000000000000001, 74800000000000010c5f72800000000000000100), jobID: 270"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000010c5f7280000000000000010000] ["take time"=560.439µs] [2024/05/18 21:51:15.936 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=270] [2024/05/18 21:51:15.936 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_col_] ["total added count"=1] ["start key"=74800000000000010c5f728000000000000001] [2024/05/18 21:51:15.936 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/18 21:51:15.978 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=383] [neededSchemaVersion=384] ["start time"=240.552µs] [gotSchemaVersion=384] [phyTblIDs="[268]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/18 21:51:15.980 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=270] [version=384] [2024/05/18 21:51:15.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=384] ["take time"=4.668897ms] [job="ID:270, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:268, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211838758913, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.988 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=270] [jobType="modify column"] [2024/05/18 21:51:15.988 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=270] [conn=25] [job="ID:270, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:268, RowCount:1, ArgLen:2, start time: 2024-05-18 21:51:15.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857211838758913, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:51:15.995 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=270] [2024/05/18 21:51:15.995 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.000 +00:00] [INFO] [set.go:170] ["set global var"] [conn=25] [name=tidb_ddl_error_count_limit] [val=512] [2024/05/18 21:51:16.000 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=1.99µs] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=1.275µs] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=1.073µs] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=1.07µs] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=1.263µs] [2024/05/18 21:51:16.000 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:16.000 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:16.000 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:16.005 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] ["take time"=4.345411ms] [2024/05/18 21:51:16.005 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] [2024/05/18 21:51:16.005 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:51:16.005 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/18 21:51:16.005 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:16.005 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:16.005 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:51:16.005 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:51:16.005 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:51:16.005 +00:00] [INFO] [domain.go:1549] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/18 21:51:16.006 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:16.006 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/18 21:51:16.006 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/18 21:51:16.006 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] [ownerKey=/tidb/stats/owner] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:16.006 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:16.006 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1551] ["dist task scheduler manager stopped"] [id=da0d168d-8ec8-4fcd-aa26-0f0e94ed44a9] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:16.006 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:16.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:16.006 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.008144ms] [2024/05/18 21:51:16.007 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:51:16.007 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:51:16.007 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:51:16.007 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:51:16.007 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:51:16.007 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestModifyColumnTime (9.24s) === RUN TestTruncateTableWithPlacement [2024/05/18 21:51:16.019 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:51:16.020 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:16.020 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:16.020 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:16.020 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:16.021 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:16.023 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=5e959537-794f-4b65-a4a4-b44a36d49a67] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:51:16.029 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:16.030 +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/18 21:51:16.030 +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.TestTruncateTableWithPlacement\n\tpkg/ddl/placement_policy_test.go:1751\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:51:16.047 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=17.213664ms] [2024/05/18 21:51:16.049 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:16.049 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=7523f581-794c-4d31-a7eb-68a8e359c727] [runWorker=true] [2024/05/18 21:51:16.050 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:16.050 +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/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:16.050 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:16.050 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:16.050 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:16.050 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:16.050 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:16.051 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:16.051 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:16.051 +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/18 21:51:16.054 +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-18 21:51:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.054 +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-18 21:51:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:51:16.062 +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-18 21:51:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.086 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=21.919961ms] [2024/05/18 21:51:16.088 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:16.090 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.090 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:51:16.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=1] ["take time"=28.89681ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.098 +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-18 21:51:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.101 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:51:16.101 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.102 +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/18 21:51:16.103 +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/18 21:51:16.107 +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-18 21:51:16.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.107 +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-18 21:51:16.104 +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/18 21:51:16.112 +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-18 21:51:16.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.120 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.076039ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.121 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.121 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:51:16.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=2] ["take time"=4.999088ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.129 +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-18 21:51:16.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.136 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:51:16.136 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.136 +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/18 21:51:16.140 +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-18 21:51:16.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.140 +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-18 21:51:16.139 +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/18 21:51:16.145 +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-18 21:51:16.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.148 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=316.578µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.150 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.150 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:51:16.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=3] ["take time"=2.440071ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.159 +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-18 21:51:16.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.162 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:51:16.162 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.162 +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/18 21:51:16.165 +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-18 21:51:16.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.165 +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-18 21:51:16.164 +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/18 21:51:16.171 +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-18 21:51:16.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.174 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=281.429µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.175 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.175 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:51:16.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=4] ["take time"=2.416042ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.180 +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-18 21:51:16.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.183 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:51:16.183 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.184 +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/18 21:51:16.188 +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-18 21:51:16.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.188 +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-18 21:51:16.185 +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/18 21:51:16.193 +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-18 21:51:16.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.199 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=758.969µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.200 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.200 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:51:16.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=5] ["take time"=4.885149ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.210 +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-18 21:51:16.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.215 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:51:16.215 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.215 +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/18 21:51:16.218 +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-18 21:51:16.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.218 +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-18 21:51:16.217 +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/18 21:51:16.226 +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-18 21:51:16.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.229 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=307.511µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.230 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.230 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:51:16.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=6] ["take time"=2.206861ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.238 +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-18 21:51:16.217 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.241 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:51:16.241 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.241 +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/18 21:51:16.246 +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-18 21:51:16.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.246 +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-18 21:51:16.243 +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/18 21:51:16.253 +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-18 21:51:16.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.256 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=312.709µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.257 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.257 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:51:16.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=7] ["take time"=2.008292ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.263 +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-18 21:51:16.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.266 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:51:16.266 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.267 +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/18 21:51:16.269 +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-18 21:51:16.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.269 +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-18 21:51:16.268 +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/18 21:51:16.276 +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-18 21:51:16.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.279 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=227.812µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.280 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.280 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:51:16.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=8] ["take time"=2.032487ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.285 +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-18 21:51:16.268 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.288 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:51:16.288 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.288 +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/18 21:51:16.291 +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-18 21:51:16.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.291 +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-18 21:51:16.289 +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/18 21:51:16.297 +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-18 21:51:16.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.300 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=273.549µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.302 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.302 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:51:16.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=9] ["take time"=2.032213ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.309 +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-18 21:51:16.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.312 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:51:16.312 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.312 +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/18 21:51:16.315 +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-18 21:51:16.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.315 +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-18 21:51:16.314 +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/18 21:51:16.323 +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-18 21:51:16.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.326 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=307.873µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.327 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.327 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:51:16.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=10] ["take time"=2.592083ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.332 +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-18 21:51:16.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.336 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:51:16.336 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.336 +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/18 21:51:16.339 +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-18 21:51:16.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.339 +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-18 21:51:16.338 +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/18 21:51:16.346 +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-18 21:51:16.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.350 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=362.068µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.351 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.351 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:51:16.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=11] ["take time"=2.048659ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.358 +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-18 21:51:16.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.361 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:51:16.361 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.362 +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/18 21:51:16.362 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:16.365 +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-18 21:51:16.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.365 +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-18 21:51:16.363 +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/18 21:51:16.371 +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-18 21:51:16.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.375 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=514.217µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.376 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.376 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:51:16.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=12] ["take time"=2.019185ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.381 +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-18 21:51:16.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.386 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:51:16.386 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.386 +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/18 21:51:16.389 +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-18 21:51:16.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.389 +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-18 21:51:16.388 +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/18 21:51:16.397 +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-18 21:51:16.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.401 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=413.85µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.402 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.402 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:51:16.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=13] ["take time"=2.153882ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.407 +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-18 21:51:16.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.411 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:51:16.411 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.411 +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/18 21:51:16.414 +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-18 21:51:16.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.414 +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-18 21:51:16.413 +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/18 21:51:16.421 +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-18 21:51:16.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.424 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=235.102µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.425 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.425 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:51:16.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=14] ["take time"=2.051619ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.431 +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-18 21:51:16.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.435 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:51:16.435 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.435 +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/18 21:51:16.438 +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-18 21:51:16.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.438 +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-18 21:51:16.436 +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/18 21:51:16.445 +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-18 21:51:16.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.448 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=241.612µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.449 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.449 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:51:16.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=15] ["take time"=2.463393ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.460 +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-18 21:51:16.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.464 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:51:16.464 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.465 +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/18 21:51:16.468 +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-18 21:51:16.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.468 +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-18 21:51:16.466 +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/18 21:51:16.475 +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-18 21:51:16.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.478 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=306.968µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.479 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.479 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:51:16.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=16] ["take time"=2.419807ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.485 +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-18 21:51:16.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.488 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:51:16.488 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.488 +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/18 21:51:16.491 +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-18 21:51:16.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.491 +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-18 21:51:16.49 +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/18 21:51:16.499 +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-18 21:51:16.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.502 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=358.015µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.504 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.504 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:51:16.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=17] ["take time"=2.889202ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.509 +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-18 21:51:16.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.513 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:51:16.513 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.513 +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/18 21:51:16.515 +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-18 21:51:16.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.515 +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-18 21:51:16.514 +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/18 21:51:16.523 +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-18 21:51:16.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.525 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=255.217µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.526 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.526 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:51:16.527 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.382855ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.532 +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-18 21:51:16.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.535 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:51:16.535 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.536 +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/18 21:51:16.539 +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-18 21:51:16.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.539 +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-18 21:51:16.537 +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/18 21:51:16.545 +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-18 21:51:16.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.550 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=523.432µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.551 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.551 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:51:16.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=4.016974ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.561 +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-18 21:51:16.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.565 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:51:16.565 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.566 +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/18 21:51:16.569 +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-18 21:51:16.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.569 +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-18 21:51:16.568 +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/18 21:51:16.575 +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-18 21:51:16.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.579 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=327.303µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.580 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.580 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:51:16.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=20] ["take time"=3.279953ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.587 +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-18 21:51:16.568 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.591 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:51:16.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.591 +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/18 21:51:16.594 +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-18 21:51:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.594 +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-18 21:51:16.593 +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/18 21:51:16.604 +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-18 21:51:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.607 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=231.953µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.608 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.608 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:51:16.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=21] ["take time"=2.162828ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.614 +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-18 21:51:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:51:16.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.618 +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/18 21:51:16.620 +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-18 21:51:16.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.620 +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-18 21:51:16.619 +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/18 21:51:16.626 +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-18 21:51:16.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.631 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=188.962µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.633 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.633 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:51:16.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=22] ["take time"=2.395286ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.638 +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-18 21:51:16.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.643 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:51:16.643 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.643 +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/18 21:51:16.648 +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-18 21:51:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.648 +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-18 21:51:16.647 +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/18 21:51:16.655 +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-18 21:51:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.659 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=440.958µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.660 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.660 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:51:16.660 +00:00] [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.061541ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.666 +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-18 21:51:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.669 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:51:16.669 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.670 +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/18 21:51:16.673 +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-18 21:51:16.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.673 +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-18 21:51:16.671 +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/18 21:51:16.680 +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-18 21:51:16.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.683 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=246.527µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.684 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.684 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:51:16.686 +00:00] [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.939993ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.691 +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-18 21:51:16.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.694 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:51:16.695 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.695 +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/18 21:51:16.697 +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-18 21:51:16.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.698 +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-18 21:51:16.696 +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/18 21:51:16.705 +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-18 21:51:16.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.708 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=303.401µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.709 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.709 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:51:16.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=25] ["take time"=2.07737ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.714 +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-18 21:51:16.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.718 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:51:16.718 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.718 +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/18 21:51:16.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-18 21:51:16.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.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-18 21:51:16.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/18 21:51:16.729 +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-18 21:51:16.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.731 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=276.112µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.732 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.732 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:51:16.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=26] ["take time"=2.381903ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.738 +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-18 21:51:16.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.743 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:51:16.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.743 +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/18 21:51:16.746 +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-18 21:51:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.746 +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-18 21:51:16.745 +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/18 21:51:16.754 +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-18 21:51:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.757 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=309.88µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.758 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.758 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:51:16.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=27] ["take time"=2.008863ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.764 +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-18 21:51:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.767 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:51:16.767 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.768 +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/18 21:51:16.770 +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-18 21:51:16.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.770 +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-18 21:51:16.769 +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/18 21:51:16.778 +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-18 21:51:16.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.780 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=203.81µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.781 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.781 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:51:16.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=28] ["take time"=2.471177ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.787 +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-18 21:51:16.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.790 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:51:16.790 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.791 +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/18 21:51:16.791 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:51:16.794 +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-18 21:51:16.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.794 +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-18 21:51:16.792 +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/18 21:51:16.801 +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-18 21:51:16.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.805 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=339.229µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.806 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.806 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:51:16.807 +00:00] [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.062035ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.811 +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-18 21:51:16.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.814 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:51:16.814 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.814 +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/18 21:51:16.817 +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-18 21:51:16.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.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-18 21:51:16.815 +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/18 21:51:16.824 +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-18 21:51:16.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.828 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=354.595µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.829 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.829 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:51:16.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=30] ["take time"=2.361823ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.837 +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-18 21:51:16.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.840 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:51:16.840 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.840 +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/18 21:51:16.843 +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-18 21:51:16.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.844 +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-18 21:51:16.842 +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/18 21:51:16.851 +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-18 21:51:16.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.855 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=414.806µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.857 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.857 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:51:16.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=31] ["take time"=2.559714ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.863 +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-18 21:51:16.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.867 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:51:16.867 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.868 +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/18 21:51:16.871 +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-18 21:51:16.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.871 +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-18 21:51:16.869 +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/18 21:51:16.879 +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-18 21:51:16.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.883 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=470.309µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.884 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.884 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:51:16.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=32] ["take time"=4.968414ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.895 +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-18 21:51:16.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.901 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:51:16.901 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.902 +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/18 21:51:16.905 +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-18 21:51:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.905 +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-18 21:51:16.903 +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/18 21:51:16.916 +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-18 21:51:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.919 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=203.72µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:16.921 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.921 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:51:16.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=33] ["take time"=13.60056ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.945 +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-18 21:51:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.949 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:51:16.949 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.953 +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-18 21:51:16.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.953 +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-18 21:51:16.951 +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/18 21:51:16.962 +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-18 21:51:16.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.965 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=239.009µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:16.966 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:16.966 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:51:16.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=34] ["take time"=9.236962ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:16.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.979 +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-18 21:51:16.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:16.983 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:51:16.983 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:16.983 +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/18 21:51:16.992 +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-18 21:51:16.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:16.992 +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-18 21:51:16.985 +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/18 21:51:16.998 +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-18 21:51:16.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.002 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=288.338µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.003 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.003 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:51:17.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=35] ["take time"=2.008943ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:16.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.008 +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-18 21:51:16.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.011 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:51:17.011 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.012 +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/18 21:51:17.015 +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-18 21:51:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.015 +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-18 21:51:17.013 +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/18 21:51:17.022 +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-18 21:51:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.025 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=257.151µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.027 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.027 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:51:17.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=36] ["take time"=3.01644ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.035 +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-18 21:51:17.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.039 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:51:17.039 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.040 +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/18 21:51:17.045 +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-18 21:51:17.041 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.045 +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-18 21:51:17.041 +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/18 21:51:17.051 +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/18 21:51:17.052 +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-18 21:51:17.041 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.055 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=311.278µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.056 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.056 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:51:17.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=37] ["take time"=2.070179ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.041 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.062 +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-18 21:51:17.041 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.066 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:51:17.066 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.066 +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/18 21:51:17.070 +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-18 21:51:17.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.070 +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-18 21:51:17.068 +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/18 21:51:17.075 +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-18 21:51:17.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.081 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=559.969µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.082 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.082 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:51:17.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=38] ["take time"=5.135643ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.091 +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-18 21:51:17.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.097 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:51:17.097 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.098 +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/18 21:51:17.101 +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-18 21:51:17.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.101 +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-18 21:51:17.099 +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/18 21:51:17.111 +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-18 21:51:17.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.115 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=496.197µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.116 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.116 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:51:17.117 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.142633ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.122 +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-18 21:51:17.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.126 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:51:17.126 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.126 +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/18 21:51:17.130 +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-18 21:51:17.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.130 +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-18 21:51:17.128 +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/18 21:51:17.136 +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-18 21:51:17.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.142 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=626.863µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.143 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.143 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:51:17.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=40] ["take time"=5.402516ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.151 +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-18 21:51:17.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.157 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:51:17.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.157 +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/18 21:51:17.161 +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-18 21:51:17.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.161 +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-18 21:51:17.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/18 21:51:17.167 +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-18 21:51:17.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.175 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=523.354µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.177 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.177 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:51:17.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=41] ["take time"=4.1677ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.184 +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-18 21:51:17.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.190 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:51:17.191 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.191 +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/18 21:51:17.195 +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-18 21:51:17.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.195 +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-18 21:51:17.193 +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/18 21:51:17.201 +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-18 21:51:17.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.206 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=526.166µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.207 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.207 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:51:17.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=42] ["take time"=2.411094ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.213 +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-18 21:51:17.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.219 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:51:17.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.220 +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/18 21:51:17.225 +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-18 21:51:17.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.225 +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-18 21:51:17.221 +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/18 21:51:17.231 +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-18 21:51:17.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.236 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=554.413µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.237 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.237 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:51:17.241 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=5.844003ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.247 +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-18 21:51:17.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.254 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:51:17.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.254 +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/18 21:51:17.258 +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-18 21:51:17.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.258 +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-18 21:51:17.256 +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/18 21:51:17.266 +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-18 21:51:17.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.269 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=287.561µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.270 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.270 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:51:17.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=44] ["take time"=2.368052ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.275 +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-18 21:51:17.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.281 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:51:17.281 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.281 +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/18 21:51:17.286 +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-18 21:51:17.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.286 +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-18 21:51:17.283 +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/18 21:51:17.294 +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-18 21:51:17.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.298 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=412.247µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.299 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.299 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:51:17.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=45] ["take time"=2.139574ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.305 +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-18 21:51:17.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.309 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:51:17.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.309 +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/18 21:51:17.313 +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-18 21:51:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.313 +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-18 21:51:17.311 +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/18 21:51:17.321 +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-18 21:51:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.326 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=694.384µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.327 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.327 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:51:17.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=46] ["take time"=4.162797ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.335 +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-18 21:51:17.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.340 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:51:17.341 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.341 +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/18 21:51:17.344 +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-18 21:51:17.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.344 +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-18 21:51:17.343 +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/18 21:51:17.351 +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-18 21:51:17.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.356 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=352.558µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.357 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.357 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:51:17.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=47] ["take time"=2.060668ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.363 +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-18 21:51:17.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.370 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:51:17.370 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.371 +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/18 21:51:17.374 +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-18 21:51:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.374 +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-18 21:51:17.373 +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/18 21:51:17.382 +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-18 21:51:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.385 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=210.083µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.386 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.386 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:51:17.387 +00:00] [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.321546ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.392 +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-18 21:51:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.395 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:51:17.395 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.395 +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/18 21:51:17.398 +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-18 21:51:17.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.398 +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-18 21:51:17.397 +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/18 21:51:17.405 +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-18 21:51:17.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.408 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=333.559µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.409 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.409 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:51:17.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=49] ["take time"=2.764569ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.415 +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-18 21:51:17.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.419 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:51:17.419 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.419 +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/18 21:51:17.422 +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-18 21:51:17.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.422 +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-18 21:51:17.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:51:17.430 +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-18 21:51:17.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.432 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=65.859µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:51:17.433 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.433 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:51:17.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=50] ["take time"=2.179768ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:17.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.439 +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-18 21:51:17.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.443 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:51:17.443 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.446 +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-18 21:51:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.446 +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-18 21:51:17.445 +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/18 21:51:17.454 +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-18 21:51:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.458 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=281.701µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:51:17.459 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:51:17.459 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:51:17.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=51] ["take time"=2.041534ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.464 +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-18 21:51:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.469 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:51:17.469 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.503 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.452085583s] [2024/05/18 21:51:17.506 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7523f581-794c-4d31-a7eb-68a8e359c727] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 74, tp add index"] [category=ddl] ["take time"=3.649µs] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 75, tp add index"] [category=ddl] ["take time"=2.981µs] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 72, tp add index"] [category=ddl] ["take time"=897ns] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 73, tp add index"] [category=ddl] ["take time"=2.821µs] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 71, tp general"] [category=ddl] ["take time"=751ns] [2024/05/18 21:51:17.506 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:17.506 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:17.506 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:17.509 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=7523f581-794c-4d31-a7eb-68a8e359c727] ["take time"=6.073047ms] [2024/05/18 21:51:17.509 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=7523f581-794c-4d31-a7eb-68a8e359c727] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:17.509 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:17.509 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:17.509 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:17.509 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:17.509 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:17.509 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:17.509 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:17.509 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.525016ms] [2024/05/18 21:51:17.509 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=5e959537-794f-4b65-a4a4-b44a36d49a67] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:51:17.517 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:51:17.517 +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/18 21:51:17.551 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=33.434978ms] [2024/05/18 21:51:17.564 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:51:17.564 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=25aac7bc-89fa-4035-8a87-2b512db72ccf] [runWorker=true] [2024/05/18 21:51:17.565 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:51:17.566 +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/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:17.566 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:17.566 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:51:17.566 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:51:17.566 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:51:17.566 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:51:17.566 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:51:17.566 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:51:17.574 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:17.574 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:51:17.587 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:17.589 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:17.591 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:17.591 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:51:17.591 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:17.591 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:17.591 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:51:17.592 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:17.593 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:17.593 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:51:17.593 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:51:17.595 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:17.595 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:51:17.595 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:51:17.600 +00:00] [INFO] [set.go:170] ["set global var"] [conn=26] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:51:17.600 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t1, tp"] [user=] [2024/05/18 21:51:17.604 +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-18 21:51:17.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.604 +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-18 21:51:17.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p1 primary_region='r1' regions='r1'"] [2024/05/18 21:51:17.610 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=104] [conn=26] [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-18 21:51:17.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.613 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=74.901µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/18 21:51:17.614 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=104] [version=52] [2024/05/18 21:51:17.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=52] ["take time"=2.427921ms] [job="ID:104, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.620 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=104] [conn=26] [job="ID:104, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.623 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/18 21:51:17.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.629 +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-18 21:51:17.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.629 +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-18 21:51:17.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p2 primary_region='r2' regions='r2'"] [2024/05/18 21:51:17.633 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=26] [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-18 21:51:17.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.635 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=82.792µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/18 21:51:17.636 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=105] [version=53] [2024/05/18 21:51:17.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=53] ["take time"=2.064477ms] [job="ID:105, Type:create placement policy, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.642 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=26] [job="ID:105, Type:create placement policy, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.645 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/18 21:51:17.645 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.645 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=53] [cur_db=test] [sql="CREATE TABLE t1 (id INT) placement policy p1"] [user=] [2024/05/18 21:51:17.647 +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-18 21:51:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.647 +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-18 21:51:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t1 (id INT) placement policy p1"] [2024/05/18 21:51:17.655 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=26] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.657 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=265.984µs] [gotSchemaVersion=54] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.659 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=54] [2024/05/18 21:51:17.660 +00:00] [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.016266ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.666 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=26] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.669 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:51:17.669 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.670 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=54] [cur_db=test] [sql="TRUNCATE TABLE t1"] [user=] [2024/05/18 21:51:17.672 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.672 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:109, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="TRUNCATE TABLE t1"] [2024/05/18 21:51:17.679 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=109] [conn=26] [category=ddl] [job="ID:109, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.681 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=285.976µs] [gotSchemaVersion=55] [phyTblIDs="[108]"] [actionTypes="[11]"] [diffTypes="[\"truncate table\"]"] [2024/05/18 21:51:17.683 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=55] [2024/05/18 21:51:17.683 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.425238ms] [job="ID:109, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.688 +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/18 21:51:17.689 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="truncate table"] [2024/05/18 21:51:17.689 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=109] [conn=26] [job="ID:109, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.671 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.696 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/18 21:51:17.696 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.697 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=55] [cur_db=test] [sql="CREATE TABLE tp (id INT) placement policy p1 PARTITION BY RANGE (id) (\n PARTITION p0 VALUES LESS THAN (100),\n PARTITION p1 VALUES LESS THAN (1000) placement policy p2,\n PARTITION p2 VALUES LESS THAN (10000)\n\t);"] [user=] [2024/05/18 21:51:17.701 +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:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.701 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE tp (id INT) placement policy p1 PARTITION BY RANGE (id) (\n PARTITION p0 VALUES LESS THAN (100),\n PARTITION p1 VALUES LESS THAN (1000) placement policy p2,\n PARTITION p2 VALUES LESS THAN (10000)\n\t);"] [2024/05/18 21:51:17.707 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=26] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.716 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=5.838782ms] [gotSchemaVersion=56] [phyTblIDs="[110,111,112,113]"] [actionTypes="[3,3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:51:17.718 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=114] [version=56] [2024/05/18 21:51:17.718 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=8.047063ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.724 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=26] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.727 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/18 21:51:17.727 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.729 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=56] [cur_db=test] [sql="TRUNCATE TABLE tp"] [user=] [2024/05/18 21:51:17.731 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.731 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="TRUNCATE TABLE tp"] [2024/05/18 21:51:17.738 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=26] [category=ddl] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:110, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.746 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=5.691258ms] [gotSchemaVersion=57] [phyTblIDs="[115,116,117,118]"] [actionTypes="[11,11,11,11]"] [diffTypes="[\"truncate table\"]"] [2024/05/18 21:51:17.748 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=119] [version=57] [2024/05/18 21:51:17.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=57] ["take time"=8.399059ms] [job="ID:119, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.754 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[111,112,113]"] [comment="drop table: partition table IDs"] [2024/05/18 21:51:17.755 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[110]"] [comment="drop table: table ID"] [2024/05/18 21:51:17.755 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="truncate table"] [2024/05/18 21:51:17.756 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=26] [job="ID:119, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:110, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.73 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.760 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=119] [2024/05/18 21:51:17.761 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.761 +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.TestTruncateTableWithPlacement\n\tpkg/ddl/placement_policy_test.go:1849\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/18 21:51:17.763 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63e36c04c040003] [ranges=5] [2024/05/18 21:51:17.765 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=106] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000k"] [safePoint=9223372036854775807] [2024/05/18 21:51:17.765 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-106-r] [2024/05/18 21:51:17.767 +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/18 21:51:17.767 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-111-r] [2024/05/18 21:51:17.767 +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/18 21:51:17.767 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-112-r] [2024/05/18 21:51:17.767 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=113] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000p"] [safePoint=9223372036854775807] [2024/05/18 21:51:17.767 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-113-r] [2024/05/18 21:51:17.767 +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/18 21:51:17.767 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-110-r] [2024/05/18 21:51:17.774 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63e36c04c040003] ["num of ranges"=5] ["cost time"=10.895312ms] [2024/05/18 21:51:17.775 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=57] [cur_db=test] [sql="drop table tp"] [user=] [2024/05/18 21:51:17.777 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.777 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table tp"] [2024/05/18 21:51:17.782 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=26] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.784 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=156.525µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:17.785 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=58] [2024/05/18 21:51:17.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=58] ["take time"=2.019654ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.790 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=26] [category=ddl] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.792 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=50.011µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:17.793 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=59] [2024/05/18 21:51:17.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.138616ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.797 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=26] [category=ddl] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.799 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=45.829µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:17.800 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=120] [version=60] [2024/05/18 21:51:17.802 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.701083ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.807 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[116,117,118]"] [comment="drop table: partition table IDs"] [2024/05/18 21:51:17.808 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[115]"] [comment="drop table: table ID"] [2024/05/18 21:51:17.808 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2024/05/18 21:51:17.809 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=26] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.814 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/18 21:51:17.814 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.814 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=60] [cur_db=test] [sql="drop table t1"] [user=] [2024/05/18 21:51:17.816 +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:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.816 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t1"] [2024/05/18 21:51:17.821 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=121] [conn=26] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.823 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=81.175µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:17.824 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=61] [2024/05/18 21:51:17.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=61] ["take time"=2.021436ms] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.829 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=121] [conn=26] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.831 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=54.613µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:17.832 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=62] [2024/05/18 21:51:17.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=62] ["take time"=2.749075ms] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.837 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=121] [conn=26] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.840 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=46.024µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/18 21:51:17.841 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=121] [version=63] [2024/05/18 21:51: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=63] ["take time"=2.283408ms] [job="ID:121, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.846 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=121] [tableIDs="[108]"] [comment="drop table: table ID"] [2024/05/18 21:51:17.847 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="drop table"] [2024/05/18 21:51:17.847 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=121] [conn=26] [job="ID:121, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-18 21:51:17.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.851 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/18 21:51:17.851 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.857 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.857 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:122, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy p2"] [2024/05/18 21:51:17.862 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=122] [conn=26] [category=ddl] [job="ID:122, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.869 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=51.827µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:51:17.870 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=64] [2024/05/18 21:51:17.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=2.714989ms] [job="ID:122, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.876 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=122] [conn=26] [category=ddl] [job="ID:122, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.883 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=36.025µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:51:17.885 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=65] [2024/05/18 21:51:17.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=65] ["take time"=2.259116ms] [job="ID:122, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.889 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=122] [conn=26] [category=ddl] [job="ID:122, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.895 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=40.697µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:51:17.896 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=122] [version=66] [2024/05/18 21:51:17.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=2.038524ms] [job="ID:122, Type:drop placement policy, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.901 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=122] [conn=26] [job="ID:122, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.903 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/18 21:51:17.903 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.912 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:51:17.913 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:123, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy p1"] [2024/05/18 21:51:17.918 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=123] [conn=26] [category=ddl] [job="ID:123, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.924 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=44.078µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:51:17.925 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=67] [2024/05/18 21:51:17.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=67] ["take time"=2.914603ms] [job="ID:123, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.931 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=123] [conn=26] [category=ddl] [job="ID:123, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.938 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=33.07µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:51:17.939 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=68] [2024/05/18 21:51:17.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=68] ["take time"=2.521006ms] [job="ID:123, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.944 +00:00] [INFO] [ddl_worker.go:1209] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=123] [conn=26] [category=ddl] [job="ID:123, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.950 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=38.298µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/18 21:51:17.951 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=123] [version=69] [2024/05/18 21:51:17.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=69] ["take time"=2.246922ms] [job="ID:123, Type:drop placement policy, State:done, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.956 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=123] [conn=26] [job="ID:123, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-18 21:51:17.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:51:17.958 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/18 21:51:17.958 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:51:17.963 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=25aac7bc-89fa-4035-8a87-2b512db72ccf] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 78, tp add index"] [category=ddl] ["take time"=2.138µs] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 79, tp add index"] [category=ddl] ["take time"=1.297µs] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 80, tp add index"] [category=ddl] ["take time"=974ns] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 77, tp add index"] [category=ddl] ["take time"=1.485µs] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 76, tp general"] [category=ddl] ["take time"=802ns] [2024/05/18 21:51:17.963 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:51:17.963 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:51:17.963 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:51:17.964 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=25aac7bc-89fa-4035-8a87-2b512db72ccf] ["take time"=4.963692ms] [2024/05/18 21:51:17.964 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=25aac7bc-89fa-4035-8a87-2b512db72ccf] [2024/05/18 21:51:17.964 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:51:17.964 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:17.964 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:17.964 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:17.964 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:17.964 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:51:17.964 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:51:17.964 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:17.964 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:17.964 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:17.964 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:51:17.965 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:51:17.965 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=25aac7bc-89fa-4035-8a87-2b512db72ccf] [ownerKey=/tidb/stats/owner] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:51:17.965 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=25aac7bc-89fa-4035-8a87-2b512db72ccf] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:51:17.965 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:51:17.965 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:51:17.965 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:51:17.965 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=6.502218ms] [2024/05/18 21:51:17.966 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:51:17.966 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:51:17.966 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:51:17.966 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:51:17.966 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:51:17.966 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTruncateTableWithPlacement (1.96s) === RUN Test_getTTLInfoInOptions --- PASS: Test_getTTLInfoInOptions (0.00s) 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/11471/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test ================================================================================ [12,658 / 13,087] 269 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 39s remote-cache, linux-sandbox ... (70 actions running) [12,667 / 13,087] 269 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,678 / 13,087] 269 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,686 / 13,094] 269 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,688 / 13,094] 269 / 415 tests; Testing //pkg/store:store_test (shard 1 of 23); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,701 / 13,094] 270 / 415 tests; Testing //pkg/store:store_test (shard 2 of 23); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,701 / 13,094] 270 / 415 tests; Testing //pkg/store:store_test (shard 2 of 23); 44s remote-cache, linux-sandbox ... (70 actions running) [12,719 / 13,094] 271 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 15 of 25); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,722 / 13,094] 271 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 15 of 25); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,728 / 13,098] 272 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 15 of 25); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,736 / 13,098] 272 / 415 tests; Testing //pkg/store/gcworker:gcworker_test (shard 15 of 25); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,743 / 13,098] 272 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,747 / 13,098] 272 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 33s remote-cache, linux-sandbox ... (70 actions running) [12,759 / 13,098] 274 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 34s remote-cache, linux-sandbox ... (70 actions running) [12,764 / 13,098] 274 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 35s remote-cache, linux-sandbox ... (68 actions running) [12,772 / 13,098] 275 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,775 / 13,098] 275 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [12,784 / 13,098] 275 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 39s remote-cache, linux-sandbox ... (70 actions running) [12,795 / 13,202] 275 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,803 / 13,204] 275 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,810 / 13,204] 275 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 42s remote-cache, linux-sandbox ... (69 actions running) [12,813 / 13,204] 275 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 36 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,824 / 13,204] 275 / 415 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,829 / 13,204] 276 / 415 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,835 / 13,204] 276 / 415 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [12,838 / 13,217] 276 / 415 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [12,838 / 13,217] 276 / 415 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [12,846 / 13,217] 276 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 18 of 18); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,850 / 13,237] 276 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 18 of 18); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,853 / 13,237] 276 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 18 of 18); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,861 / 13,237] 276 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [12,863 / 13,246] 276 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,867 / 13,255] 276 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,874 / 13,255] 276 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [12,877 / 13,255] 277 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,880 / 13,255] 277 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [12,883 / 13,255] 277 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [12,884 / 13,255] 277 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,887 / 13,257] 277 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [12,893 / 13,257] 277 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [12,896 / 13,257] 277 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,901 / 13,257] 279 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,902 / 13,257] 279 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,903 / 13,257] 279 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,906 / 13,257] 279 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,909 / 13,257] 279 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,911 / 13,257] 279 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,916 / 13,257] 280 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 63s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,918 / 13,257] 280 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,919 / 13,257] 280 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,924 / 13,276] 280 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,927 / 13,278] 280 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,933 / 13,299] 280 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [12,938 / 13,340] 281 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 71s remote-cache, linux-sandbox ... (70 actions running) [12,941 / 13,340] 281 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 72s remote-cache, linux-sandbox ... (70 actions running) [12,942 / 13,340] 281 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,942 / 13,340] 281 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [12,948 / 13,355] 281 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [12,952 / 13,355] 281 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,953 / 13,355] 281 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [12,956 / 13,355] 282 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [12,957 / 13,355] 282 / 415 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [12,961 / 13,355] 283 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [12,966 / 13,367] 283 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [12,973 / 13,382] 283 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,978 / 13,382] 283 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 54s remote-cache, linux-sandbox ... (69 actions running) [12,982 / 13,382] 284 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,982 / 13,382] 284 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,984 / 13,382] 284 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,987 / 13,394] 284 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 9 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) FLAKY: //pkg/ddl:ddl_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_8_of_50/test_attempts/attempt_1.log /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_11_of_50/test_attempts/attempt_1.log [12,992 / 13,394] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 53s remote-cache, linux-sandbox ... (69 actions running) [13,000 / 13,404] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,005 / 13,404] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 56s remote-cache, linux-sandbox ... (70 actions running) [13,005 / 13,404] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 57s remote-cache, linux-sandbox ... (70 actions running) [13,010 / 13,409] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 58s remote-cache, linux-sandbox ... (70 actions running) [13,012 / 13,409] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 59s remote-cache, linux-sandbox ... (70 actions running) [13,014 / 13,409] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,016 / 13,409] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,021 / 13,409] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,027 / 13,409] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,029 / 13,409] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 65s remote-cache, linux-sandbox ... (70 actions running) [13,039 / 13,413] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,041 / 13,413] 285 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 68s remote-cache, linux-sandbox ... (70 actions running) [13,046 / 13,413] 287 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 69s remote-cache, linux-sandbox ... (70 actions running) [13,050 / 13,413] 287 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 70s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,051 / 13,413] 287 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 72s remote-cache, linux-sandbox ... (70 actions running) [13,056 / 13,413] 288 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 73s remote-cache, linux-sandbox ... (70 actions running) [13,057 / 13,413] 288 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 74s remote-cache, linux-sandbox ... (70 actions running) [13,060 / 13,413] 288 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,062 / 13,413] 288 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,062 / 13,413] 288 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 78s remote-cache, linux-sandbox ... (70 actions running) [13,065 / 13,413] 289 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 79s remote-cache, linux-sandbox ... (69 actions running) [13,067 / 13,413] 289 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 81s remote-cache, linux-sandbox ... (70 actions running) [13,073 / 13,415] 289 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,080 / 13,417] 289 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,080 / 13,417] 289 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 85s remote-cache, linux-sandbox ... (70 actions running) [13,085 / 13,419] 289 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 86s remote-cache, linux-sandbox ... (70 actions running) [13,087 / 13,419] 290 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,090 / 13,419] 293 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 89s remote-cache, linux-sandbox ... (70 actions running) [13,093 / 13,419] 293 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,094 / 13,419] 293 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 17 of 18); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,101 / 13,456] 293 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 45s remote-cache, linux-sandbox ... (70 actions running) [13,102 / 13,456] 293 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 46s remote-cache, linux-sandbox ... (70 actions running) [13,104 / 13,456] 293 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 48s remote-cache, linux-sandbox ... (70 actions running) [13,105 / 13,456] 293 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,106 / 13,456] 293 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,106 / 13,456] 293 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 52s remote-cache, linux-sandbox ... (70 actions running) [13,107 / 13,456] 293 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 53s remote-cache, linux-sandbox ... (70 actions running) [13,118 / 13,509] 294 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,124 / 13,515] 294 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,130 / 13,515] 295 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,132 / 13,515] 296 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 58s remote-cache, linux-sandbox ... (70 actions running) [13,132 / 13,515] 297 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 59s remote-cache, linux-sandbox ... (70 actions running) [13,140 / 13,515] 298 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 61s remote-cache, linux-sandbox ... (70 actions running) [13,143 / 13,548] 298 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 62s remote-cache, linux-sandbox ... (70 actions running) [13,145 / 13,548] 298 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,146 / 13,548] 298 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 65s remote-cache, linux-sandbox ... (70 actions running) [13,149 / 13,575] 298 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 66s remote-cache, linux-sandbox ... (69 actions running) [13,153 / 13,581] 298 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,162 / 13,601] 298 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 69s remote-cache, linux-sandbox ... (70 actions running) [13,167 / 13,601] 300 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,169 / 13,616] 300 / 415 tests; Testing //pkg/executor:executor_test (shard 4 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,171 / 13,616] 301 / 415 tests; Testing //pkg/executor:executor_test (shard 4 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,176 / 13,616] 301 / 415 tests; Testing //pkg/executor:executor_test (shard 4 of 50); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,179 / 13,616] 301 / 415 tests; Testing //pkg/executor:executor_test (shard 4 of 50); 39s remote-cache, linux-sandbox ... (70 actions running) [13,180 / 13,616] 301 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 10 of 11); 38s remote-cache, linux-sandbox ... (69 actions running) [13,185 / 13,616] 301 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 7 of 18); 31s remote-cache, linux-sandbox ... (70 actions running) [13,186 / 13,616] 301 / 415 tests; Testing //pkg/bindinfo/tests:tests_test (shard 7 of 18); 32s remote-cache, linux-sandbox ... (70 actions running) [13,189 / 13,616] 301 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,190 / 13,616] 301 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 28s remote-cache, linux-sandbox ... (70 actions running) [13,193 / 13,618] 301 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,198 / 13,665] 301 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,199 / 13,665] 301 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 32s remote-cache, linux-sandbox ... (70 actions running) [13,203 / 13,665] 301 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,203 / 13,665] 301 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 35s remote-cache, linux-sandbox ... (70 actions running) [13,203 / 13,665] 302 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 1 of 5); 36s remote-cache, linux-sandbox ... (70 actions running) [13,211 / 13,665] 302 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,215 / 13,665] 302 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,219 / 13,665] 302 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 40s remote-cache, linux-sandbox ... (70 actions running) [13,223 / 13,665] 302 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,225 / 13,665] 302 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 43s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,226 / 13,665] 303 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 44s remote-cache, linux-sandbox ... (70 actions running) [13,231 / 13,665] 303 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 45s remote-cache, linux-sandbox ... (70 actions running) [13,232 / 13,665] 303 / 415 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,235 / 13,665] 304 / 415 tests; Testing //pkg/executor:executor_test (shard 5 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,235 / 13,665] 304 / 415 tests; Testing //pkg/executor:executor_test (shard 5 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [13,245 / 13,685] 304 / 415 tests; Testing //pkg/executor:executor_test (shard 5 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,247 / 13,685] 304 / 415 tests; Testing //pkg/executor:executor_test (shard 5 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [13,248 / 13,685] 304 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [13,252 / 13,685] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [13,255 / 13,689] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,260 / 13,689] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 51s remote-cache, linux-sandbox ... (69 actions running) [13,264 / 13,689] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,268 / 13,689] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [13,270 / 13,689] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [13,272 / 13,689] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [13,274 / 13,689] 305 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [13,275 / 13,689] 306 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [13,279 / 13,691] 306 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,282 / 13,691] 306 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,283 / 13,691] 306 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [13,286 / 13,691] 306 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [13,290 / 13,691] 307 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 11 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,294 / 13,691] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 44s remote-cache, linux-sandbox ... (70 actions running) [13,296 / 13,691] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,298 / 13,691] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 47s remote-cache, linux-sandbox ... (70 actions running) [13,302 / 13,691] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 48s remote-cache, linux-sandbox ... (70 actions running) [13,307 / 13,701] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,309 / 13,703] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,312 / 13,703] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 52s remote-cache, linux-sandbox ... (70 actions running) [13,316 / 13,703] 307 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 54s remote-cache, linux-sandbox ... (70 actions running) [13,326 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 55s remote-cache, linux-sandbox ... (70 actions running) [13,334 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 8 of 11); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,337 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 4 of 11); 32s remote-cache, linux-sandbox ... (70 actions running) [13,340 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 4 of 11); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,342 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 19); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,349 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 19); 35s remote-cache, linux-sandbox ... (70 actions running) [13,350 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 19); 36s remote-cache, linux-sandbox ... (70 actions running) [13,353 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 8 of 11); 37s remote-cache, linux-sandbox ... (70 actions running) [13,354 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 8 of 11); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,361 / 13,708] 308 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 8 of 11); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,365 / 13,710] 309 / 415 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 8 of 11); 41s remote-cache, linux-sandbox ... (70 actions running) [13,371 / 13,710] 309 / 415 tests; Testing //pkg/executor/test/splittest:splittest_test (shard 1 of 3); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,376 / 13,710] 310 / 415 tests; Testing //pkg/executor/test/splittest:splittest_test (shard 1 of 3); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,376 / 13,710] 310 / 415 tests; Testing //pkg/executor/test/splittest:splittest_test (shard 1 of 3); 36s remote-cache, linux-sandbox ... (70 actions running) [13,381 / 13,710] 310 / 415 tests; Testing //pkg/executor/test/splittest:splittest_test (shard 1 of 3); 37s remote-cache, linux-sandbox ... (70 actions running) [13,383 / 13,710] 311 / 415 tests; Testing //pkg/executor/test/splittest:splittest_test (shard 1 of 3); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,385 / 13,710] 312 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 12 of 50); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,390 / 13,710] 312 / 415 tests; Testing //pkg/executor/test/oomtest:oomtest_test (shard 1 of 3); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,394 / 13,710] 313 / 415 tests; Testing //pkg/executor/test/oomtest:oomtest_test (shard 1 of 3); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,394 / 13,710] 313 / 415 tests; Testing //pkg/executor/test/oomtest:oomtest_test (shard 1 of 3); 34s remote-cache, linux-sandbox ... (70 actions running) [13,400 / 13,710] 314 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 24 of 28); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,401 / 13,710] 314 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 24 of 28); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,404 / 13,710] 314 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 16 of 20); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,406 / 13,710] 315 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 16 of 20); 36s remote-cache, linux-sandbox ... (70 actions running) [13,409 / 13,710] 315 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 16 of 20); 37s remote-cache, linux-sandbox ... (70 actions running) [13,412 / 13,712] 315 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 37s remote-cache, linux-sandbox ... (70 actions running) [13,415 / 13,712] 315 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 39s remote-cache, linux-sandbox ... (70 actions running) [13,417 / 13,712] 315 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 41s remote-cache, linux-sandbox ... (69 actions running) [13,418 / 13,712] 316 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,427 / 13,763] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 42s remote-cache, linux-sandbox ... (70 actions running) [13,431 / 13,767] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,433 / 13,767] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [13,433 / 13,767] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [13,437 / 13,767] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [13,439 / 13,769] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [13,439 / 13,769] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [13,440 / 13,769] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [13,448 / 13,821] 317 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [13,450 / 13,825] 318 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [13,457 / 13,845] 318 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [13,459 / 13,845] 319 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [13,464 / 13,845] 319 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,466 / 13,845] 319 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [13,469 / 13,845] 319 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [13,471 / 13,847] 319 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [13,472 / 13,847] 320 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [13,475 / 13,847] 320 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [13,476 / 13,847] 321 / 415 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [13,483 / 13,871] 322 / 415 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 6 of 11); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,485 / 13,871] 323 / 415 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 6 of 11); 35s remote-cache, linux-sandbox ... (70 actions running) [13,487 / 13,871] 324 / 415 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 29 of 32); 35s remote-cache, linux-sandbox ... (70 actions running) [13,490 / 13,880] 324 / 415 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 15 of 20); 35s remote-cache, linux-sandbox ... (70 actions running) [13,491 / 13,880] 324 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 14 of 50); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,497 / 13,880] 324 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 14 of 50); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,498 / 13,880] 324 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 14 of 50); 34s remote-cache, linux-sandbox ... (70 actions running) [13,500 / 13,880] 324 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 14 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,502 / 13,886] 324 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 14 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [13,508 / 13,900] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 38s remote-cache, linux-sandbox ... (70 actions running) [13,511 / 13,929] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,514 / 13,929] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,514 / 13,929] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 42s remote-cache, linux-sandbox ... (70 actions running) [13,514 / 13,929] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 43s remote-cache, linux-sandbox ... (70 actions running) [13,522 / 13,929] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,524 / 13,929] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,524 / 13,929] 324 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 6 of 12); 47s remote-cache, linux-sandbox ... (70 actions running) [13,529 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,533 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 42s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,535 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,536 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,544 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 46s remote-cache, linux-sandbox ... (69 actions running) [13,545 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 47s remote-cache, linux-sandbox ... (70 actions running) [13,547 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,547 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 50s remote-cache, linux-sandbox ... (70 actions running) [13,555 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,555 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 52s remote-cache, linux-sandbox ... (70 actions running) [13,559 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 53s remote-cache, linux-sandbox ... (70 actions running) [13,561 / 13,929] 324 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,566 / 13,929] 325 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,568 / 13,929] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 57s remote-cache, linux-sandbox ... (70 actions running) [13,570 / 13,929] 326 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 58s remote-cache, linux-sandbox ... (70 actions running) [13,573 / 13,929] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 60s remote-cache, linux-sandbox ... (70 actions running) [13,574 / 13,929] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 61s remote-cache, linux-sandbox ... (70 actions running) [13,579 / 13,929] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,589 / 13,929] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 64s remote-cache, linux-sandbox ... (70 actions running) [13,590 / 13,929] 328 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,594 / 13,929] 328 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 16 of 50); 36s remote-cache, linux-sandbox ... (70 actions running) [13,597 / 13,937] 328 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 16 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [13,598 / 13,960] 328 / 415 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 16 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,604 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 34s remote-cache, linux-sandbox ... (70 actions running) [13,606 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 35s remote-cache, linux-sandbox ... (70 actions running) [13,607 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 36s remote-cache, linux-sandbox ... (70 actions running) [13,607 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 37s remote-cache, linux-sandbox ... (70 actions running) [13,611 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 38s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,615 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,616 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 41s remote-cache, linux-sandbox ... (70 actions running) [13,619 / 13,960] 329 / 415 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,625 / 13,960] 329 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,626 / 13,960] 329 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 40s remote-cache, linux-sandbox ... (70 actions running) [13,629 / 13,966] 329 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 41s remote-cache, linux-sandbox ... (70 actions running) [13,633 / 13,966] 330 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,635 / 13,966] 330 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 44s remote-cache, linux-sandbox ... (70 actions running) [13,635 / 13,966] 330 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 46s remote-cache, linux-sandbox ... (70 actions running) [13,635 / 13,966] 330 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 48s remote-cache, linux-sandbox ... (70 actions running) [13,637 / 13,966] 330 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 50s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,637 / 13,966] 330 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 52s remote-cache, linux-sandbox ... (68 actions, 67 running) [13,638 / 13,966] 330 / 415 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,642 / 13,966] 330 / 415 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 21); 49s remote-cache, linux-sandbox ... (70 actions running) [13,656 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 38s remote-cache, linux-sandbox ... (70 actions running) [13,657 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 39s remote-cache, linux-sandbox ... (70 actions running) [13,668 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,670 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 42s remote-cache, linux-sandbox ... (70 actions running) [13,671 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 43s remote-cache, linux-sandbox ... (70 actions running) [13,676 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 44s remote-cache, linux-sandbox ... (70 actions running) [13,677 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 45s remote-cache, linux-sandbox ... (70 actions running) [13,678 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 47s remote-cache, linux-sandbox ... (70 actions running) [13,679 / 13,966] 332 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 48s remote-cache, linux-sandbox ... (70 actions running) [13,683 / 14,000] 333 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,690 / 14,049] 334 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,690 / 14,049] 334 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 52s remote-cache, linux-sandbox ... (70 actions running) [13,691 / 14,049] 335 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 53s remote-cache, linux-sandbox ... (70 actions running) [13,692 / 14,049] 335 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,693 / 14,049] 336 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 55s remote-cache, linux-sandbox ... (70 actions running) [13,698 / 14,049] 336 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 57s remote-cache, linux-sandbox ... (70 actions running) [13,699 / 14,049] 336 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,699 / 14,049] 336 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 60s remote-cache, linux-sandbox ... (70 actions running) [13,708 / 14,084] 336 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,710 / 14,084] 336 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 62s remote-cache, linux-sandbox ... (70 actions running) [13,711 / 14,084] 336 / 415 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,713 / 14,084] 336 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,718 / 14,102] 336 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [13,719 / 14,102] 336 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 51s remote-cache, linux-sandbox ... (70 actions running) [13,721 / 14,102] 337 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,725 / 14,108] 337 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,731 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 54s remote-cache, linux-sandbox ... (70 actions running) [13,732 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 56s remote-cache, linux-sandbox ... (70 actions running) [13,737 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 57s remote-cache, linux-sandbox ... (70 actions running) [13,739 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 58s remote-cache, linux-sandbox ... (70 actions running) [13,742 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 59s remote-cache, linux-sandbox ... (70 actions running) [13,747 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,751 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,754 / 14,108] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,758 / 14,159] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 64s remote-cache, linux-sandbox ... (70 actions running) [13,760 / 14,159] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 65s remote-cache, linux-sandbox ... (70 actions running) [13,761 / 14,159] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,764 / 14,159] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,769 / 14,159] 338 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,772 / 14,159] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,772 / 14,159] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 71s remote-cache, linux-sandbox ... (70 actions running) [13,777 / 14,185] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,783 / 14,185] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 74s remote-cache, linux-sandbox ... (70 actions running) [13,785 / 14,185] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,789 / 14,185] 339 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,794 / 14,185] 339 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 12 of 19); 53s remote-cache, linux-sandbox ... (70 actions running) [13,795 / 14,207] 339 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 12 of 19); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,798 / 14,207] 340 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 12 of 19); 55s remote-cache, linux-sandbox ... (70 actions running) [13,806 / 14,207] 341 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 12 of 19); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,809 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 29s remote-cache, linux-sandbox ... (70 actions running) [13,810 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 30s remote-cache, linux-sandbox ... (70 actions running) [13,812 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,816 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,819 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,822 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 35s remote-cache, linux-sandbox ... (70 actions running) [13,824 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 36s remote-cache, linux-sandbox ... (70 actions running) [13,827 / 14,207] 341 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,835 / 14,207] 341 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,837 / 14,207] 341 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,838 / 14,207] 341 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 41s remote-cache, linux-sandbox ... (70 actions running) [13,841 / 14,207] 341 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 43s remote-cache, linux-sandbox ... (70 actions running) [13,847 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 44s remote-cache, linux-sandbox ... (70 actions running) [13,848 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 45s remote-cache, linux-sandbox ... (70 actions running) [13,854 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 46s remote-cache, linux-sandbox ... (70 actions running) [13,854 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 47s remote-cache, linux-sandbox ... (70 actions running) [13,860 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,864 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [13,866 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 52s remote-cache, linux-sandbox ... (70 actions running) [13,869 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,872 / 14,207] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,879 / 14,234] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 56s remote-cache, linux-sandbox ... (70 actions running) [13,882 / 14,234] 342 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 57s remote-cache, linux-sandbox ... (70 actions running) [13,887 / 14,234] 343 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,890 / 14,234] 343 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,894 / 14,234] 343 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 58s remote-cache, linux-sandbox ... (70 actions running) [13,898 / 14,234] 343 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 59s remote-cache, linux-sandbox ... (70 actions running) [13,900 / 14,234] 343 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 60s remote-cache, linux-sandbox ... (70 actions running) [13,901 / 14,234] 343 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 61s remote-cache, linux-sandbox ... (70 actions running) [13,904 / 14,234] 344 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 62s remote-cache, linux-sandbox ... (70 actions running) [13,908 / 14,234] 344 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 63s remote-cache, linux-sandbox ... (69 actions running) [13,912 / 14,234] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,916 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,918 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 67s remote-cache, linux-sandbox ... (70 actions running) [13,922 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 68s remote-cache, linux-sandbox ... (70 actions running) [13,928 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 69s remote-cache, linux-sandbox ... (69 actions running) [13,931 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,934 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,938 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,943 / 14,243] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 74s remote-cache, linux-sandbox ... (70 actions running) [13,952 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 75s remote-cache, linux-sandbox ... (70 actions running) [13,953 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,958 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,960 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,964 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 80s remote-cache, linux-sandbox ... (70 actions running) [13,972 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,978 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 83s remote-cache, linux-sandbox ... (70 actions running) [13,983 / 14,322] 345 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,989 / 14,322] 346 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 86s remote-cache, linux-sandbox ... (70 actions running) [13,995 / 14,322] 346 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 87s remote-cache, linux-sandbox ... (70 actions running) [13,998 / 14,322] 346 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,003 / 14,322] 346 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 90s remote-cache, linux-sandbox ... (70 actions running) FAIL: //pkg/ddl/tests/partition:partition_test (shard 15 of 45) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_15_of_45/test_attempts/attempt_1.log) [14,007 / 14,322] 347 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 91s remote-cache, linux-sandbox ... (70 actions running) [14,013 / 14,322] 347 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,017 / 14,322] 347 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 68s remote-cache, linux-sandbox ... (70 actions running) INFO: From Testing //pkg/ddl/tests/partition:partition_test (shard 15 of 45): ==================== Test output for //pkg/ddl/tests/partition:partition_test (shard 15 of 45): === RUN TestTruncatePartitionWithGlobalIndex [2024/05/18 21:59:47.928 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/18 21:59:47.929 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:59:47.929 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:59:47.930 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:59:47.930 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:59:47.930 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:59:47.932 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b6da832c-ed0d-4144-989b-580fcb99ee00] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:59:47.943 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:59:47.943 +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/18 21:59:47.944 +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/ddl/tests/partition/partition_test.TestTruncatePartitionWithGlobalIndex\n\tpkg/ddl/tests/partition/db_partition_test.go:1414\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/18 21:59:47.947 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.248993ms] [2024/05/18 21:59:47.947 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:59:47.947 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=1cdb96aa-00bf-451e-a42a-9a33412df5e3] [runWorker=true] [2024/05/18 21:59:47.948 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:59:47.948 +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/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:59:47.948 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:59:47.948 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:59:47.948 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:59:47.948 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:59:47.948 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:59:47.949 +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/18 21:59:47.955 +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-18 21:59:47.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:47.955 +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-18 21:59:47.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/18 21:59:47.999 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:59:47.999 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:59:48.016 +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-18 21:59:47.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.021 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.130302ms] [2024/05/18 21:59:48.022 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:59:48.023 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.023 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/18 21:59:48.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=1] ["take time"=6.168164ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:59:47.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.030 +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-18 21:59:47.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.035 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/18 21:59:48.035 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.035 +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/18 21:59:48.036 +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/18 21:59:48.043 +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-18 21:59:48.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.043 +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-18 21:59:48.039 +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/18 21:59:48.051 +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-18 21:59:48.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.060 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.012553ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.061 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.061 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/18 21:59:48.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=2] ["take time"=4.924725ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.072 +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-18 21:59:48.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.080 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/18 21:59:48.080 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.081 +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/18 21:59:48.084 +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-18 21:59:48.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.084 +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-18 21:59:48.082 +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/18 21:59:48.091 +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-18 21:59:48.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.095 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=275.664µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.097 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.097 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/18 21:59:48.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=3] ["take time"=2.514246ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.112 +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-18 21:59:48.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.116 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/18 21:59:48.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.117 +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/18 21:59:48.120 +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-18 21:59:48.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.121 +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-18 21:59:48.119 +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/18 21:59:48.131 +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-18 21:59:48.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.134 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=274.174µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.136 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.136 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/18 21:59:48.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=4] ["take time"=4.20653ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.145 +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-18 21:59:48.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.151 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/18 21:59:48.151 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.152 +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/18 21:59:48.156 +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-18 21:59:48.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.156 +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-18 21:59:48.154 +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/18 21:59:48.164 +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-18 21:59:48.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.170 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=667.134µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.171 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.171 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/18 21:59:48.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=5] ["take time"=5.787751ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.181 +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-18 21:59:48.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.188 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/18 21:59:48.188 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.188 +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/18 21:59:48.192 +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-18 21:59:48.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.192 +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-18 21:59:48.19 +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/18 21:59:48.201 +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-18 21:59:48.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.209 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=416.664µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.211 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.211 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/18 21:59:48.213 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.102908ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.219 +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-18 21:59:48.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.222 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/18 21:59:48.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.223 +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/18 21:59:48.230 +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-18 21:59:48.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.230 +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-18 21:59:48.228 +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/18 21:59:48.237 +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-18 21:59:48.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.243 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=373.677µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.244 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.244 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/18 21:59: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=7] ["take time"=4.162575ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.251 +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-18 21:59:48.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.255 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/18 21:59:48.255 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.255 +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/18 21:59:48.257 +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-18 21:59:48.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.257 +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-18 21:59:48.256 +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/18 21:59:48.266 +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-18 21:59:48.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.268 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=164.516µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.269 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.269 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/18 21:59:48.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=8] ["take time"=2.729314ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.275 +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-18 21:59:48.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.278 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/18 21:59:48.278 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.278 +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/18 21:59:48.285 +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-18 21:59:48.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.285 +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-18 21:59:48.284 +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/18 21:59:48.291 +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-18 21:59:48.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.294 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=226.419µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.295 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.295 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/18 21:59:48.296 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.34203ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.301 +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-18 21:59:48.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.303 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/18 21:59:48.303 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.304 +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/18 21:59:48.307 +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-18 21:59:48.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.307 +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-18 21:59:48.305 +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/18 21:59:48.315 +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-18 21:59:48.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.318 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=247.671µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.319 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.319 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/18 21:59:48.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=10] ["take time"=2.871241ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.324 +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-18 21:59:48.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.327 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/18 21:59:48.327 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.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/18 21:59:48.330 +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-18 21:59:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.330 +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-18 21:59:48.329 +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/18 21:59:48.337 +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-18 21:59:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.339 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=210.202µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.340 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.340 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/18 21:59:48.341 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.132335ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.345 +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-18 21:59:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.349 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/18 21:59:48.349 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.350 +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/18 21:59:48.350 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:59:48.353 +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-18 21:59:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.353 +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-18 21:59:48.351 +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/18 21:59:48.358 +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-18 21:59:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.363 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=1.694871ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.366 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.366 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/18 21:59:48.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=12] ["take time"=6.109104ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.372 +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-18 21:59:48.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.376 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/18 21:59:48.376 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.376 +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/18 21:59:48.379 +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-18 21:59:48.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.379 +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-18 21:59:48.377 +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/18 21:59:48.393 +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-18 21:59:48.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.398 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=339.808µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.400 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.400 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/18 21:59:48.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=13] ["take time"=2.424687ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.408 +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-18 21:59:48.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.413 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/18 21:59:48.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.414 +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/18 21:59:48.417 +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-18 21:59:48.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.417 +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-18 21:59:48.415 +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/18 21:59:48.428 +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-18 21:59:48.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.432 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=332.108µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.434 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.434 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/18 21:59:48.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=14] ["take time"=4.957111ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.442 +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-18 21:59:48.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.445 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/18 21:59:48.445 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.446 +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/18 21:59:48.448 +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-18 21:59:48.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.448 +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-18 21:59:48.447 +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/18 21:59:48.457 +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-18 21:59:48.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.461 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=348.082µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.462 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.462 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/18 21:59:48.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=15] ["take time"=5.060848ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.471 +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-18 21:59:48.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.475 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/18 21:59:48.475 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.475 +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/18 21:59:48.478 +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-18 21:59:48.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.479 +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-18 21:59:48.477 +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/18 21:59:48.488 +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-18 21:59:48.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.492 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=307.418µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.493 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.493 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/18 21:59:48.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=16] ["take time"=4.496064ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.512 +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-18 21:59:48.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.516 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/18 21:59:48.516 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.516 +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/18 21:59:48.522 +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-18 21:59:48.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.522 +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-18 21:59:48.518 +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/18 21:59:48.529 +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-18 21:59:48.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.533 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=371.416µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.535 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.535 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/18 21:59: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=17] ["take time"=4.75515ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.545 +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-18 21:59:48.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.549 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/18 21:59:48.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.550 +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/18 21:59:48.553 +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-18 21:59:48.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.553 +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-18 21:59:48.551 +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/18 21:59:48.560 +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-18 21:59:48.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.563 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=302.827µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.565 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.565 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/18 21:59:48.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=18] ["take time"=5.036253ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.573 +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-18 21:59:48.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.576 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/18 21:59:48.576 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.577 +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/18 21:59:48.580 +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-18 21:59:48.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.580 +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-18 21:59:48.578 +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/18 21:59:48.589 +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-18 21:59:48.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.594 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=435.284µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.595 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.595 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/18 21:59:48.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=19] ["take time"=4.319781ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.611 +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-18 21:59:48.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.617 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/18 21:59:48.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.619 +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/18 21:59:48.623 +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-18 21:59:48.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.623 +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-18 21:59:48.621 +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/18 21:59:48.631 +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-18 21:59:48.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.634 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=307.954µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.636 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.636 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/18 21:59:48.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=20] ["take time"=4.031521ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.647 +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-18 21:59:48.621 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.652 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/18 21:59:48.652 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.652 +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/18 21:59:48.655 +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-18 21:59:48.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.655 +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-18 21:59:48.654 +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/18 21:59:48.667 +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-18 21:59:48.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.670 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=218.332µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.672 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.672 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/18 21:59:48.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=21] ["take time"=5.424625ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.682 +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-18 21:59:48.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.686 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/18 21:59:48.686 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.686 +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/18 21:59:48.690 +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-18 21:59:48.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.690 +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-18 21:59:48.688 +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/18 21:59:48.700 +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-18 21:59:48.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.703 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=216.604µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.705 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.705 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/18 21:59:48.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=22] ["take time"=2.030492ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.718 +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-18 21:59:48.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.722 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/18 21:59:48.722 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.722 +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/18 21:59:48.728 +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-18 21:59:48.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.728 +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-18 21:59:48.724 +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/18 21:59:48.738 +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-18 21:59:48.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.741 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=299.654µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.743 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.743 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/18 21:59:48.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=23] ["take time"=4.965363ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.752 +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-18 21:59:48.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.756 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/18 21:59:48.756 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.757 +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/18 21:59:48.760 +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-18 21:59:48.758 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.760 +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-18 21:59:48.758 +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/18 21:59:48.766 +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-18 21:59:48.758 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.770 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=325.21µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.772 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.772 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/18 21:59:48.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=24] ["take time"=4.027257ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.758 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.781 +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-18 21:59:48.758 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.785 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/18 21:59:48.785 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.786 +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/18 21:59:48.789 +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-18 21:59:48.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.790 +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-18 21:59:48.788 +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/18 21:59:48.814 +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-18 21:59:48.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.820 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=543.847µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.821 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.821 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/18 21:59:48.824 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.581259ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.834 +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-18 21:59:48.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.840 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/18 21:59:48.840 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.841 +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/18 21:59:48.843 +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-18 21:59:48.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.844 +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-18 21:59:48.842 +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/18 21:59:48.851 +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-18 21:59:48.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.854 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=263.715µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.855 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.855 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/18 21:59:48.856 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.016382ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.862 +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-18 21:59:48.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.866 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/18 21:59:48.866 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.867 +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/18 21:59:48.870 +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-18 21:59:48.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.870 +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-18 21:59:48.869 +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/18 21:59:48.876 +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-18 21:59:48.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.879 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=285.905µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.881 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.881 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/18 21:59:48.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=27] ["take time"=2.065445ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.889 +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-18 21:59:48.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.892 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/18 21:59:48.892 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.892 +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/18 21:59:48.895 +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-18 21:59:48.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.895 +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-18 21:59:48.894 +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/18 21:59:48.903 +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-18 21:59:48.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.906 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=270.952µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.907 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.907 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/18 21:59:48.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=28] ["take time"=2.137632ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.913 +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-18 21:59:48.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.917 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/18 21:59:48.917 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.917 +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/18 21:59:48.917 +00:00] [INFO] [ddl_api.go:1141] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/18 21:59:48.920 +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-18 21:59:48.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.920 +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-18 21:59:48.919 +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/18 21:59:48.927 +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-18 21:59:48.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.929 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=215.467µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.930 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.930 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/18 21:59:48.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=29] ["take time"=2.780758ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.937 +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-18 21:59:48.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.940 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/18 21:59:48.940 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.940 +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/18 21:59:48.943 +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-18 21:59:48.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.943 +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-18 21:59:48.942 +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/18 21:59:48.949 +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/18 21:59:48.951 +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-18 21:59:48.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.954 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=369.026µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.956 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.956 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/18 21:59:48.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=30] ["take time"=8.734074ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.968 +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-18 21:59:48.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.971 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/18 21:59:48.971 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:48.972 +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/18 21:59:48.975 +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-18 21:59:48.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:48.975 +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-18 21:59:48.973 +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/18 21:59:48.981 +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-18 21:59:48.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.986 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=393.574µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:48.988 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:48.988 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/18 21:59:48.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=31] ["take time"=4.908942ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:48.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:48.997 +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-18 21:59:48.973 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.001 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/18 21:59:49.001 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.002 +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/18 21:59:49.010 +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-18 21:59:49.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.010 +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-18 21:59:49.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/18 21:59:49.019 +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-18 21:59:49.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.023 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=470.132µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.025 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.025 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/18 21:59:49.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=32] ["take time"=4.95731ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.036 +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-18 21:59:49.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.042 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/18 21:59:49.043 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.043 +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/18 21:59:49.053 +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-18 21:59:49.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.053 +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-18 21:59:49.051 +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/18 21:59:49.065 +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-18 21:59:49.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.068 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=240.498µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.070 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.070 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/18 21:59:49.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=33] ["take time"=4.065063ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.077 +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-18 21:59:49.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.081 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/18 21:59:49.081 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.086 +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-18 21:59:49.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.086 +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-18 21:59:49.084 +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/18 21:59:49.093 +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-18 21:59:49.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.097 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=221.115µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:59:49.098 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.098 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/18 21:59:49.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=34] ["take time"=2.193423ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-18 21:59:49.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.109 +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-18 21:59:49.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.114 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/18 21:59:49.114 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.115 +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/18 21:59:49.118 +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-18 21:59:49.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.119 +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-18 21:59:49.117 +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/18 21:59:49.127 +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-18 21:59:49.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.130 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=288.706µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.132 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.132 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/18 21:59:49.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=35] ["take time"=4.825096ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.140 +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-18 21:59:49.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.145 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/18 21:59:49.145 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.145 +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/18 21:59:49.148 +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-18 21:59:49.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.148 +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-18 21:59:49.147 +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/18 21:59:49.154 +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-18 21:59:49.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.157 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=209.265µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.158 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.158 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/18 21:59:49.159 +00:00] [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.016087ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.166 +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-18 21:59:49.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.171 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/18 21:59:49.171 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.171 +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/18 21:59:49.174 +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-18 21:59:49.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.174 +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-18 21:59:49.173 +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/18 21:59:49.186 +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-18 21:59:49.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.189 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=281.615µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.191 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.191 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/18 21:59:49.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=4.089976ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.199 +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-18 21:59:49.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.203 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/18 21:59:49.203 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.203 +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/18 21:59:49.208 +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-18 21:59:49.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.208 +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-18 21:59:49.206 +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/18 21:59:49.220 +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-18 21:59:49.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.224 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=520.073µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.226 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.226 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/18 21:59:49.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=38] ["take time"=4.89478ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.235 +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-18 21:59:49.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.239 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/18 21:59:49.239 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.240 +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/18 21:59:49.246 +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-18 21:59:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.246 +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-18 21:59:49.244 +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/18 21:59:49.261 +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-18 21:59:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.265 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=465.373µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.267 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.267 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/18 21:59:49.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=39] ["take time"=4.049987ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.278 +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-18 21:59:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.284 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/18 21:59:49.284 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.284 +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/18 21:59:49.288 +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-18 21:59:49.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.288 +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-18 21:59:49.287 +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/18 21:59:49.300 +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-18 21:59:49.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.317 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=448.749µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.318 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.318 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/18 21:59:49.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=40] ["take time"=8.588529ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.331 +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-18 21:59:49.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.337 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/18 21:59:49.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.338 +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/18 21:59:49.342 +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-18 21:59:49.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.342 +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-18 21:59:49.34 +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/18 21:59:49.351 +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-18 21:59:49.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.355 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=399.318µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.357 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.357 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/18 21:59:49.360 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.927815ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.368 +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-18 21:59:49.34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.373 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/18 21:59:49.373 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.374 +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/18 21:59:49.382 +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-18 21:59:49.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.382 +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-18 21:59:49.377 +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/18 21:59:49.390 +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-18 21:59:49.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.396 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=789.563µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.399 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.399 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/18 21:59:49.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=42] ["take time"=4.596618ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.410 +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-18 21:59:49.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.415 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/18 21:59:49.415 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.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/18 21:59:49.420 +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-18 21:59:49.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.420 +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-18 21:59:49.418 +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/18 21:59:49.427 +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-18 21:59:49.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.432 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=619.042µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.434 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.434 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/18 21:59:49.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=43] ["take time"=4.61087ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.445 +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-18 21:59:49.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.448 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/18 21:59:49.449 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.449 +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/18 21:59:49.453 +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-18 21:59:49.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.453 +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-18 21:59:49.451 +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/18 21:59:49.462 +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-18 21:59:49.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.467 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=390.536µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.468 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.468 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/18 21:59:49.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=44] ["take time"=5.055437ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.477 +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-18 21:59:49.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.483 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/18 21:59:49.483 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.483 +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/18 21:59:49.486 +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-18 21:59:49.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.487 +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-18 21:59:49.485 +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/18 21:59:49.496 +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-18 21:59:49.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.500 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=363.653µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.502 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.502 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/18 21:59:49.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=45] ["take time"=4.960963ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.513 +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-18 21:59:49.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.517 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/18 21:59:49.517 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.518 +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/18 21:59:49.522 +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-18 21:59:49.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.522 +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-18 21:59:49.52 +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/18 21:59:49.529 +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-18 21:59:49.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.535 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=643.917µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.537 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.537 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/18 21:59:49.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=46] ["take time"=4.163128ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.544 +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-18 21:59:49.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.547 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/18 21:59:49.548 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.548 +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/18 21:59:49.550 +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-18 21:59:49.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.550 +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-18 21:59:49.549 +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/18 21:59:49.558 +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-18 21:59:49.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.562 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=371.021µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.563 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.563 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/18 21:59:49.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=47] ["take time"=4.14982ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.572 +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-18 21:59:49.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.575 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/18 21:59:49.575 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.576 +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/18 21:59:49.579 +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-18 21:59:49.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.579 +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-18 21:59:49.577 +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/18 21:59:49.588 +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-18 21:59:49.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.591 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=293.467µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.592 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.593 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/18 21:59:49.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=3.118567ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.601 +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-18 21:59:49.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.604 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/18 21:59:49.604 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.605 +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/18 21:59:49.607 +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-18 21:59:49.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.607 +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-18 21:59:49.606 +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/18 21:59:49.618 +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-18 21:59:49.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.622 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=344.967µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.624 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.624 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/18 21:59:49.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=49] ["take time"=5.087443ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.632 +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-18 21:59:49.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.638 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/18 21:59:49.638 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.638 +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/18 21:59:49.641 +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-18 21:59:49.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.641 +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-18 21:59:49.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/18 21:59:49.647 +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-18 21:59:49.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.649 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=83.332µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/18 21:59:49.651 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.651 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/18 21:59:49.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=50] ["take time"=2.063902ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-18 21:59:49.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.660 +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-18 21:59:49.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.663 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/18 21:59:49.663 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.667 +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-18 21:59:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.667 +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-18 21:59:49.666 +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/18 21:59:49.674 +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-18 21:59:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.677 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=222.936µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/18 21:59:49.679 +00:00] [INFO] [domain.go:875] ["session manager is nil"] [2024/05/18 21:59:49.679 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/18 21:59:49.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"=2.206706ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-18 21:59:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.685 +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-18 21:59:49.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.688 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/18 21:59:49.688 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.738 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.790322187s] [2024/05/18 21:59:49.738 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1cdb96aa-00bf-451e-a42a-9a33412df5e3] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:59:49.738 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:59:49.738 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.991µs] [2024/05/18 21:59:49.738 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.344µs] [2024/05/18 21:59:49.739 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.303µs] [2024/05/18 21:59:49.739 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.382µs] [2024/05/18 21:59:49.739 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:59:49.739 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.149µs] [2024/05/18 21:59:49.739 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:59:49.739 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:59:49.739 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:59:49.741 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=1cdb96aa-00bf-451e-a42a-9a33412df5e3] ["take time"=2.863321ms] [2024/05/18 21:59:49.741 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=1cdb96aa-00bf-451e-a42a-9a33412df5e3] [2024/05/18 21:59:49.741 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:59:49.741 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:59:49.741 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:59:49.741 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:59:49.741 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:59:49.741 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:59:49.742 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:59:49.742 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:59:49.742 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:59:49.742 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:59:49.742 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:59:49.742 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:59:49.742 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:59:49.742 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:59:49.742 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=3.268229ms] [2024/05/18 21:59:49.742 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b6da832c-ed0d-4144-989b-580fcb99ee00] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/18 21:59:49.749 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/18 21:59:49.749 +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/18 21:59:49.764 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=14.525009ms] [2024/05/18 21:59:49.765 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:59:49.765 +00:00] [INFO] [ddl.go:845] ["start DDL"] [category=ddl] [ID=30ea781d-48d7-484c-9fde-09800f20569c] [runWorker=true] [2024/05/18 21:59:49.765 +00:00] [INFO] [ddl.go:801] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/18 21:59:49.765 +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/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:59:49.765 +00:00] [WARN] [domain.go:1333] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/18 21:59:49.765 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/18 21:59:49.765 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/18 21:59:49.765 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/18 21:59:49.765 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/18 21:59:49.765 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/18 21:59:49.770 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:59:49.770 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/18 21:59:49.772 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/18 21:59:49.773 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/18 21:59:49.781 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:59:49.784 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:59:49.787 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:59:49.787 +00:00] [INFO] [domain.go:2077] ["dumpFileGcChecker started"] [2024/05/18 21:59:49.788 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:59:49.788 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:59:49.788 +00:00] [INFO] [domain.go:2277] ["start load stats sub workers"] ["worker count"=6] [2024/05/18 21:59:49.788 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:59:49.789 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:59:49.789 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/18 21:59:49.789 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/18 21:59:49.790 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:59:49.791 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/18 21:59:49.792 +00:00] [INFO] [domain.go:1532] ["dist task executor manager started"] [2024/05/18 21:59:49.792 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="drop table if exists test_global"] [user=] [2024/05/18 21:59:49.792 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table test_global ( a int, b int, c int)\n\tpartition by range( a ) (\n\t\tpartition p1 values less than (10),\n\t\tpartition p2 values less than (20)\n\t);"] [user=] [2024/05/18 21:59:49.796 +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-18 21:59:49.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:49.796 +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-18 21:59:49.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_global ( a int, b int, c int)\n\tpartition by range( a ) (\n\t\tpartition p1 values less than (10),\n\t\tpartition p2 values less than (20)\n\t);"] [2024/05/18 21:59:49.802 +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-18 21:59:49.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.806 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=791.514µs] [gotSchemaVersion=52] [phyTblIDs="[104,105,106]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/18 21:59:49.808 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=107] [version=52] [2024/05/18 21:59:49.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=52] ["take time"=10.878401ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:49.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.826 +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-18 21:59:49.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:49.829 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/18 21:59:49.830 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.830 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="Alter Table test_global Add Unique Index idx_b (b);"] [user=] [2024/05/18 21:59:49.833 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:59:49.833 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="Alter Table test_global Add Unique Index idx_b (b);"] [2024/05/18 21:59:49.839 +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:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.840 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx_b\",\"L\":\"idx_b\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":true,\"mv_index\":false}"] [2024/05/18 21:59:49.840 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:59:49.844 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=827.564µs] [gotSchemaVersion=53] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.845 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=53] [2024/05/18 21:59:49.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=53] ["take time"=5.009232ms] [job="ID:108, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.855 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.858 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=689.459µs] [gotSchemaVersion=54] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.859 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=54] [2024/05/18 21:59:49.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=54] ["take time"=2.034213ms] [job="ID:108, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.868 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.871 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=612.038µs] [gotSchemaVersion=55] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.872 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=55] [2024/05/18 21:59:49.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.009309ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.878 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.879 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=test_global] ["ingest mode"=false] [index=idx_b] [2024/05/18 21:59:49.879 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{104 test_global utf8mb4 utf8mb4_bin [0xc007fe7ce0 0xc007fe7e40 0xc008f22000] [0xc00a32a750] [] [] public false false 0 0 0 0 0 3 1 0 0 449857346566356993 0 0 0 0 0 0 0xc0097f1700 5 false disable 3 2}"] ["table/partition ID"=105] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:59:49.879 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=105] [startKey=] [endKey=] [2024/05/18 21:59:49.882 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=108] [2024/05/18 21:59:49.888 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346569240576, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.889 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=test_global] ["ingest mode"=false] [index=idx_b] [2024/05/18 21:59:49.890 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346569240576, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:,EndKey:,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/18 21:59:49.891 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=] ["end key"=] [2024/05/18 21:59:49.891 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=105] [2024/05/18 21:59:49.891 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=108] [2024/05/18 21:59:49.891 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=108] [2024/05/18 21:59:49.891 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=108] [2024/05/18 21:59:49.891 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=108] [2024/05/18 21:59:49.891 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:59:49.891 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{104 test_global utf8mb4 utf8mb4_bin [0xc0092afe40 0xc008b9c000 0xc008b9c160] [0xc00991ba70] [] [] public false false 0 0 0 0 0 3 1 0 0 449857346566356993 0 0 0 0 0 0 0xc00a711d00 5 false disable 3 2}"] ["table/partition ID"=106] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:59:49.891 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=108] [element=ID:1,TypeKey:_idx_] [partitionTableID=106] [startKey=] [endKey=] [] [2024/05/18 21:59:49.891 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346569240576, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:,EndKey:,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/18 21:59:49.892 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=] ["end key"=] [2024/05/18 21:59:49.892 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=106] [2024/05/18 21:59:49.892 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=108] [2024/05/18 21:59:49.892 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=108] [2024/05/18 21:59:49.892 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=108] [2024/05/18 21:59:49.892 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=108] [2024/05/18 21:59:49.892 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:59:49.892 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:59:49.895 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=570.486µs] [gotSchemaVersion=56] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.896 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=56] [2024/05/18 21:59:49.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=56] ["take time"=4.33969ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346569240576, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.906 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346569240576, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.906 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=108] [table=test_global] [index=idx_b] [2024/05/18 21:59:49.908 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=407.29µs] [gotSchemaVersion=57] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.909 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=57] [2024/05/18 21:59:49.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=57] ["take time"=2.586963ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.916 +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:0, ArgLen:0, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.917 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=105] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000001ff] [2024/05/18 21:59:49.919 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=108] [2024/05/18 21:59:49.925 +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-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346579202048, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.927 +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:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346579202048, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000695f69ffff000000000001,EndKey:7480000000000000695f69ffff000000000001ff,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/18 21:59:49.927 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f69ffff000000000001] ["end key"=7480000000000000695f69ffff000000000001ff] [2024/05/18 21:59:49.927 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000001ff] [2024/05/18 21:59:49.927 +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/18 21:59:49.928 +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: 108"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000695f69ffff0000000000010000] ["take time"=87.205µs] [2024/05/18 21:59:49.928 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.928 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.928 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.928 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.928 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=7480000000000000695f69ffff000000000001] [2024/05/18 21:59:49.929 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=108] [element=ID:1,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [] [2024/05/18 21:59:49.929 +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:0, ArgLen:6, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346579202048, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006a5f69ffff000000000001,EndKey:74800000000000006a5f69ffff000000000001ff,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/18 21:59:49.930 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f69ffff000000000001] ["end key"=74800000000000006a5f69ffff000000000001ff] [2024/05/18 21:59:49.930 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [2024/05/18 21:59:49.930 +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/18 21:59:49.930 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.930 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.930 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.930 +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: 108"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006a5f69ffff0000000000010000] ["take time"=138.851µs] [2024/05/18 21:59:49.930 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=108] [2024/05/18 21:59:49.931 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=0] ["start key"=74800000000000006a5f69ffff000000000001] [2024/05/18 21:59:49.931 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:59:49.931 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:59:49.934 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=658.917µs] [gotSchemaVersion=58] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.935 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=108] [version=58] [2024/05/18 21:59:49.938 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=5.032638ms] [job="ID:108, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346579202048, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.947 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=108] [tableID=105] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:59:49.948 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=108] [tableID=106] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:59:49.949 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="add index"] [2024/05/18 21:59:49.949 +00:00] [INFO] [ddl_worker.go:762] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=108] [conn=1] [job="ID:108, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:59:49.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346579202048, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.952 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=108] [elementID=1] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000002] [2024/05/18 21:59:49.953 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=108] [elementID=2] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000002] [2024/05/18 21:59:49.954 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/18 21:59:49.954 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:49.954 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test] [sql="Alter Table test_global Add Unique Index idx_c (c);"] [user=] [2024/05/18 21:59:49.956 +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-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/18 21:59:49.956 +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-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="Alter Table test_global Add Unique Index idx_c (c);"] [2024/05/18 21:59:49.963 +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:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.963 +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-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx_c\",\"L\":\"idx_c\"},\"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\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":true,\"mv_index\":false}"] [2024/05/18 21:59:49.963 +00:00] [INFO] [index.go:815] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/18 21:59:49.966 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=550.529µs] [gotSchemaVersion=59] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.967 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=59] [2024/05/18 21:59:49.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=59] ["take time"=2.296768ms] [job="ID:109, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.972 +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:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.974 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=549.331µs] [gotSchemaVersion=60] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.975 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=60] [2024/05/18 21:59:49.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=60] ["take time"=2.441993ms] [job="ID:109, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.984 +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-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.986 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=603.113µs] [gotSchemaVersion=61] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:49.988 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=61] [2024/05/18 21:59:49.988 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.151173ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.995 +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-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:49.995 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=109] [table=test_global] ["ingest mode"=false] [index=idx_c] [2024/05/18 21:59:49.996 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{104 test_global utf8mb4 utf8mb4_bin [0xc0075be000 0xc0075be160 0xc0075be2c0] [0xc00b13f8c0 0xc00b13fcb0] [] [] public false false 0 0 0 0 0 3 2 0 0 449857346596765696 0 0 0 0 0 0 0xc0073cb300 5 false disable 9 2}"] ["table/partition ID"=105] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:59:49.996 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=109] [physicalTableID=105] [startKey=] [endKey=] [2024/05/18 21:59:49.998 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=109] [2024/05/18 21:59:50.004 +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:0, ArgLen:0, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346599911424, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.004 +00:00] [INFO] [index.go:855] ["index backfill state running"] [category=ddl] ["job ID"=109] [table=test_global] ["ingest mode"=false] [index=idx_c] [2024/05/18 21:59:50.006 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346599911424, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:,EndKey:,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/18 21:59:50.007 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=] ["end key"=] [2024/05/18 21:59:50.007 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=105] [2024/05/18 21:59:50.007 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=109] [2024/05/18 21:59:50.007 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=109] [2024/05/18 21:59:50.007 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=109] [2024/05/18 21:59:50.007 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=109] [2024/05/18 21:59:50.007 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:59:50.008 +00:00] [INFO] [reorg.go:650] ["get noop table range"] [category=ddl] [table="&{104 test_global utf8mb4 utf8mb4_bin [0xc007722b00 0xc007722c60 0xc007722dc0] [0xc007785ef0 0xc0077f61b0] [] [] public false false 0 0 0 0 0 3 2 0 0 449857346596765696 0 0 0 0 0 0 0xc00712f900 5 false disable 9 2}"] ["table/partition ID"=106] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/18 21:59:50.008 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=109] [element=ID:2,TypeKey:_idx_] [partitionTableID=106] [startKey=] [endKey=] [] [2024/05/18 21:59:50.008 +00:00] [INFO] [index.go:1940] ["start to add table index"] [category=ddl] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346599911424, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:,EndKey:,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/18 21:59:50.009 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=] ["end key"=] [2024/05/18 21:59:50.009 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=106] [2024/05/18 21:59:50.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=109] [2024/05/18 21:59:50.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=109] [2024/05/18 21:59:50.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=109] [2024/05/18 21:59:50.009 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=109] [2024/05/18 21:59:50.009 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=] [2024/05/18 21:59:50.009 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:59:50.012 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=610.818µs] [gotSchemaVersion=62] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:50.013 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=62] [2024/05/18 21:59:50.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=62] ["take time"=4.924474ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346599911424, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.021 +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-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346599911424, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.022 +00:00] [INFO] [index.go:883] ["index backfill state ready to merge"] [category=ddl] ["job ID"=109] [table=test_global] [index=idx_c] [2024/05/18 21:59:50.025 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=572.74µs] [gotSchemaVersion=63] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:50.027 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=63] [2024/05/18 21:59:50.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=63] ["take time"=4.826353ms] [job="ID:109, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.036 +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-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.037 +00:00] [INFO] [reorg.go:726] ["job get table range"] [category=ddl] [jobID=109] [physicalTableID=105] [startKey=7480000000000000695f69ffff000000000002] [endKey=7480000000000000695f69ffff000000000002ff] [2024/05/18 21:59:50.040 +00:00] [INFO] [ddl_worker.go:1420] ["schema version doesn't change"] [category=ddl] [jobID=109] [2024/05/18 21:59:50.046 +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:0, ArgLen:0, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346610659328, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.048 +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:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346610659328, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000695f69ffff000000000002,EndKey:7480000000000000695f69ffff000000000002ff,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/18 21:59:50.049 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f69ffff000000000002] ["end key"=7480000000000000695f69ffff000000000002ff] [2024/05/18 21:59:50.049 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000695f69ffff000000000002] [endKey=7480000000000000695f69ffff000000000002ff] [2024/05/18 21:59:50.049 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f69ffff000000000002ff] ["current end key"=7480000000000000695f69ffff00000000000200] [2024/05/18 21:59:50.050 +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: [7480000000000000695f69ffff000000000002, 7480000000000000695f69ffff00000000000200), jobID: 109"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000695f69ffff0000000000020000] ["take time"=97.71µs] [2024/05/18 21:59:50.050 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.050 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.050 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.050 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.050 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=7480000000000000695f69ffff000000000002] [2024/05/18 21:59:50.051 +00:00] [INFO] [index.go:2360] ["job update reorgInfo"] [category=ddl] [jobID=109] [element=ID:2,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f69ffff000000000002] [endKey=74800000000000006a5f69ffff000000000002ff] [] [2024/05/18 21:59:50.051 +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:0, ArgLen:6, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346610659328, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000006a5f69ffff000000000002,EndKey:74800000000000006a5f69ffff000000000002ff,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/18 21:59:50.052 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f69ffff000000000002] ["end key"=74800000000000006a5f69ffff000000000002ff] [2024/05/18 21:59:50.052 +00:00] [INFO] [backfilling.go:698] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f69ffff000000000002] [endKey=74800000000000006a5f69ffff000000000002ff] [2024/05/18 21:59:50.053 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f69ffff000000000002ff] ["current end key"=74800000000000006a5f69ffff00000000000200] [2024/05/18 21:59:50.053 +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: [74800000000000006a5f69ffff000000000002, 74800000000000006a5f69ffff00000000000200), jobID: 109"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006a5f69ffff0000000000020000] ["take time"=92.78µs] [2024/05/18 21:59:50.053 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.053 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.053 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.053 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=109] [2024/05/18 21:59:50.053 +00:00] [INFO] [backfilling.go:638] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=74800000000000006a5f69ffff000000000002] [2024/05/18 21:59:50.053 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/18 21:59:50.053 +00:00] [INFO] [index.go:779] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/18 21:59:50.055 +00:00] [INFO] [domain.go:287] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=619.499µs] [gotSchemaVersion=64] [phyTblIDs="[104,105,106]"] [actionTypes="[7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/18 21:59:50.057 +00:00] [INFO] [domain.go:894] ["mdl gets lock, update self version to owner"] [jobID=109] [version=64] [2024/05/18 21:59:50.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=64] ["take time"=7.809148ms] [job="ID:109, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346610659328, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.078 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=109] [tableID=105] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:59:50.078 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=109] [tableID=106] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/18 21:59:50.079 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="add index"] [2024/05/18 21:59:50.079 +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:0, ArgLen:3, start time: 2024-05-18 21:59:49.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449857346610659328, LocalMode: false, UniqueWarnings:0"] [2024/05/18 21:59:50.084 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=109] [elementID=1] [startKey=7480000000000000695f69ffff000000000002] [endKey=7480000000000000695f69ffff000000000003] [2024/05/18 21:59:50.085 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=109] [elementID=2] [startKey=74800000000000006a5f69ffff000000000002] [endKey=74800000000000006a5f69ffff000000000003] [2024/05/18 21:59:50.087 +00:00] [INFO] [ddl.go:1316] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/18 21:59:50.087 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/18 21:59:50.096 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:59:50.097 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=64] [cur_db=test] [sql="alter table test_global truncate partition p2;"] [user=] [2024/05/18 21:59:50.100 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:59:50.102 +00:00] [INFO] [ddl_worker.go:260] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:50.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/18 21:59:50.102 +00:00] [INFO] [ddl.go:1210] ["start DDL job"] [category=ddl] [job="ID:111, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-18 21:59:50.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table test_global truncate partition p2;"] [2024/05/18 21:59:50.107 +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:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-18 21:59:50.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/18 21:59:50.109 +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/18 21:59:50.119 +00:00] [INFO] [set.go:170] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=1024] [2024/05/18 21:59:50.127 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024] result.go:160: Error Trace: pkg/testkit/result.go:160 pkg/ddl/tests/partition/db_partition_test.go:1458 Error: Not equal: expected: true actual : false Test: TestTruncatePartitionWithGlobalIndex Messages: the result doesn't contain the exepected IndexRangeScan Point_Get 1.00 root table:test_global, index:idx_b(b) [2024/05/18 21:59:50.129 +00:00] [INFO] [schema_version.go:375] ["wait latest schema version encounter error"] [category=ddl] [ver=65] [jobID=111] ["take time"=20.104465ms] [error="context canceled"] [errorVerbose="context canceled\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.(*MockSchemaSyncer).OwnerCheckAllVersions\n\tpkg/ddl/mock.go:132\ngithub.com/pingcap/tidb/pkg/ddl.checkAllVersions\n\tpkg/ddl/schema_version.go:373\ngithub.com/pingcap/tidb/pkg/ddl.waitSchemaChanged\n\tpkg/ddl/ddl_worker.go:1437\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:480\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/18 21:59:50.129 +00:00] [INFO] [ddl.go:1248] ["DoDDLJob will quit because context done"] [category=ddl] [2024/05/18 21:59:50.129 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=30ea781d-48d7-484c-9fde-09800f20569c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/18 21:59:50.129 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:59:50.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=2.589µs] [2024/05/18 21:59:50.129 +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/18 21:59:50.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.272µs] [2024/05/18 21:59:50.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.537µs] [2024/05/18 21:59:50.129 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:59:50.129 +00:00] [INFO] [ddl_worker.go:187] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.071µs] [2024/05/18 21:59:50.129 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/18 21:59:50.129 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/18 21:59:50.129 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/18 21:59:50.129 +00:00] [ERROR] [ddl.go:66] ["active txn failed"] [error="[kv:8024]invalid transaction"] [errorVerbose="[kv:8024]invalid transaction\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).ActivateTxn\n\tpkg/session/txnmanager.go:251\ngithub.com/pingcap/tidb/pkg/session.(*session).Txn\n\tpkg/session/session.go:2463\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).toErr\n\tpkg/executor/ddl.go:64\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:224\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/partition/partition_test.TestTruncatePartitionWithGlobalIndex.func2\n\tpkg/ddl/tests/partition/db_partition_test.go:1440\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/executor.(*DDLExec).toErr\n\tpkg/executor/ddl.go:66\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:224\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/partition/partition_test.TestTruncatePartitionWithGlobalIndex.func2\n\tpkg/ddl/tests/partition/db_partition_test.go:1440"] [2024/05/18 21:59:50.129 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/18 21:59:50.129 +00:00] [WARN] [session.go:2158] ["run statement failed"] [schemaVersion=64] [error="context canceled"] [errorVerbose="context canceled\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).callHookOnChanged\n\tpkg/ddl/ddl.go:1337\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).TruncateTablePartition\n\tpkg/ddl/ddl_api.go:5028\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3912\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).MustExecWithContext\n\tpkg/testkit/testkit.go:156\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:151\npkg/ddl/tests/partition/partition_test.TestTruncatePartitionWithGlobalIndex.func2\n\tpkg/ddl/tests/partition/db_partition_test.go:1440\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] testkit.go:158: Error Trace: pkg/testkit/testkit.go:158 pkg/testkit/testkit.go:151 pkg/ddl/tests/partition/db_partition_test.go:1440 src/runtime/asm_amd64.s:1650 Error: Received unexpected error: context canceled github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged pkg/ddl/ddl.go:1337 github.com/pingcap/tidb/pkg/ddl.(*ddl).TruncateTablePartition pkg/ddl/ddl_api.go:5028 github.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable pkg/ddl/ddl_api.go:3912 github.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable pkg/executor/ddl.go:388 github.com/pingcap/tidb/pkg/executor.(*DDLExec).Next pkg/executor/ddl.go:152 github.com/pingcap/tidb/pkg/executor/internal/exec.Next pkg/executor/internal/exec/executor.go:410 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next pkg/executor/adapter.go:1211 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor pkg/executor/adapter.go:960 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay pkg/executor/adapter.go:794 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec pkg/executor/adapter.go:559 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2285 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2146 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:156 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:151 pkg/ddl/tests/partition/partition_test.TestTruncatePartitionWithGlobalIndex.func2 pkg/ddl/tests/partition/db_partition_test.go:1440 runtime.goexit src/runtime/asm_amd64.s:1650 Test: TestTruncatePartitionWithGlobalIndex Messages: sql:alter table test_global truncate partition p2;, [], error stack context canceled github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged pkg/ddl/ddl.go:1337 github.com/pingcap/tidb/pkg/ddl.(*ddl).TruncateTablePartition pkg/ddl/ddl_api.go:5028 github.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable pkg/ddl/ddl_api.go:3912 github.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable pkg/executor/ddl.go:388 github.com/pingcap/tidb/pkg/executor.(*DDLExec).Next pkg/executor/ddl.go:152 github.com/pingcap/tidb/pkg/executor/internal/exec.Next pkg/executor/internal/exec/executor.go:410 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next pkg/executor/adapter.go:1211 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor pkg/executor/adapter.go:960 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay pkg/executor/adapter.go:794 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec pkg/executor/adapter.go:559 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2285 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2146 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:156 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:151 pkg/ddl/tests/partition/partition_test.TestTruncatePartitionWithGlobalIndex.func2 pkg/ddl/tests/partition/db_partition_test.go:1440 runtime.goexit src/runtime/asm_amd64.s:1650 [2024/05/18 21:59:50.130 +00:00] [INFO] [ddl.go:978] ["DDL closed"] [category=ddl] [ID=30ea781d-48d7-484c-9fde-09800f20569c] ["take time"=1.272842ms] [2024/05/18 21:59:50.130 +00:00] [INFO] [ddl.go:793] ["stop DDL"] [category=ddl] [ID=30ea781d-48d7-484c-9fde-09800f20569c] [2024/05/18 21:59:50.130 +00:00] [INFO] [domain.go:1033] ["stopping ttlJobManager"] [2024/05/18 21:59:50.130 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:59:50.130 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:59:50.130 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:59:50.130 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:59:50.130 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/18 21:59:50.130 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/18 21:59:50.130 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:59:50.130 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:59:50.130 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:59:50.130 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:1044] ["ttlJobManager exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:1534] ["stopping dist task executor manager"] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=30ea781d-48d7-484c-9fde-09800f20569c] [ownerKey=/tidb/stats/owner] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:2360] ["indexUsageWorker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/18 21:59:50.131 +00:00] [INFO] [stats_syncload.go:216] ["SubLoadWorker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:2081] ["dumpFileGcChecker exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:1757] ["LoadSysVarCacheLoop exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:1707] ["loadPrivilegeInLoop exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=30ea781d-48d7-484c-9fde-09800f20569c] [ownerKey=/tidb/bindinfo/owner] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:1896] ["globalBindHandleWorkerLoop exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:768] ["topologySyncerKeeper exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:744] ["globalConfigSyncerKeeper exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:718] ["infoSyncerKeeper exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:690] ["topNSlowQueryLoop exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:1368] ["closestReplicaReadCheckLoop exited."] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/18 21:59:50.131 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/18 21:59:50.131 +00:00] [INFO] [domain.go:1536] ["dist task executor manager stopped"] [2024/05/18 21:59:50.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/18 21:59:50.144 +00:00] [INFO] [domain.go:322] ["full load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=34.58895ms] [2024/05/18 21:59:50.155 +00:00] [INFO] [domain.go:642] ["full load and reset schema validator"] [2024/05/18 21:59:50.157 +00:00] [INFO] [domain.go:914] ["loadSchemaInLoop exited."] [2024/05/18 21:59:50.157 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/18 21:59:50.157 +00:00] [INFO] [domain.go:1081] ["domain closed"] ["take time"=28.431983ms] [2024/05/18 21:59:50.158 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/18 21:59:50.158 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/18 21:59:50.158 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/18 21:59:50.158 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/18 21:59:50.158 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/18 21:59:50.158 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestTruncatePartitionWithGlobalIndex (2.24s) FAIL coverage: 10.6% 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/13021/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/tests/partition/partition_test_/partition_test.runfiles/__main__/pkg/ddl/tests/partition/partition_test_/partition_test ================================================================================ [14,023 / 14,322] 347 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 69s remote-cache, linux-sandbox ... (70 actions running) [14,023 / 14,322] 348 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 71s remote-cache, linux-sandbox ... (70 actions running) [14,027 / 14,322] 348 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 72s remote-cache, linux-sandbox ... (70 actions running) [14,033 / 14,322] 348 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,037 / 14,346] 348 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,042 / 14,348] 348 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 76s remote-cache, linux-sandbox ... (70 actions running) [14,044 / 14,348] 349 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 77s remote-cache, linux-sandbox ... (70 actions running) [14,048 / 14,348] 349 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,052 / 14,348] 349 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 80s remote-cache, linux-sandbox ... (70 actions running) [14,056 / 14,348] 350 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,058 / 14,348] 350 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,060 / 14,348] 350 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,068 / 14,348] 350 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 53s remote-cache, linux-sandbox ... (70 actions running) [14,069 / 14,348] 350 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,072 / 14,358] 350 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,076 / 14,385] 350 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,083 / 14,385] 350 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 58s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,087 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,089 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 60s remote-cache, linux-sandbox ... (70 actions running) [14,093 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 61s remote-cache, linux-sandbox ... (70 actions running) [14,094 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,099 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,103 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 65s remote-cache, linux-sandbox ... (70 actions running) [14,108 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,113 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,115 / 14,385] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 69s remote-cache, linux-sandbox ... (70 actions running) [14,124 / 14,390] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 70s remote-cache, linux-sandbox ... (70 actions running) [14,130 / 14,390] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 56s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,133 / 14,390] 351 / 415 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,136 / 14,390] 352 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,141 / 14,390] 352 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,146 / 14,390] 352 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 42s remote-cache, linux-sandbox ... (70 actions running) [14,147 / 14,390] 352 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,159 / 14,390] 354 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 45s remote-cache, linux-sandbox ... (70 actions running) [14,168 / 14,390] 355 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 7 of 28); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,169 / 14,390] 355 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 7 of 28); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,175 / 14,390] 355 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 7 of 28); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,178 / 14,390] 355 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 7 of 28); 35s remote-cache, linux-sandbox ... (70 actions running) [14,181 / 14,390] 355 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,186 / 14,390] 357 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 35s remote-cache, linux-sandbox ... (70 actions running) [14,194 / 14,390] 357 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 36s remote-cache, linux-sandbox ... (70 actions running) [14,194 / 14,390] 357 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 37s remote-cache, linux-sandbox ... (70 actions running) [14,200 / 14,414] 357 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,205 / 14,414] 357 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 40s remote-cache, linux-sandbox ... (70 actions running) [14,209 / 14,414] 358 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 41s remote-cache, linux-sandbox ... (70 actions running) [14,213 / 14,414] 358 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 42s remote-cache, linux-sandbox ... (70 actions running) [14,213 / 14,414] 358 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 43s remote-cache, linux-sandbox ... (70 actions running) [14,216 / 14,414] 358 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 44s remote-cache, linux-sandbox ... (70 actions running) [14,220 / 14,414] 359 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,230 / 14,429] 359 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,233 / 14,429] 359 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,234 / 14,429] 359 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 49s remote-cache, linux-sandbox ... (70 actions running) [14,238 / 14,429] 359 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 51s remote-cache, linux-sandbox ... (70 actions running) [14,238 / 14,429] 359 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 53s remote-cache, linux-sandbox ... (70 actions running) [14,240 / 14,429] 359 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 54s remote-cache, linux-sandbox ... (70 actions running) FLAKY: //pkg/ddl/tests/partition:partition_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_15_of_45/test_attempts/attempt_1.log [14,253 / 14,454] 362 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,257 / 14,456] 362 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,259 / 14,456] 362 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,262 / 14,456] 362 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 58s remote-cache, linux-sandbox ... (68 actions, 67 running) [14,265 / 14,456] 362 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,271 / 14,467] 362 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,273 / 14,467] 363 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 62s remote-cache, linux-sandbox ... (70 actions running) [14,274 / 14,467] 363 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 63s remote-cache, linux-sandbox ... (70 actions running) [14,279 / 14,467] 363 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,281 / 14,467] 363 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 65s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,288 / 14,469] 363 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,294 / 14,469] 363 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,296 / 14,469] 363 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 69s remote-cache, linux-sandbox ... (70 actions running) [14,300 / 14,469] 364 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 70s remote-cache, linux-sandbox ... (70 actions running) [14,306 / 14,469] 364 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 71s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,308 / 14,469] 364 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,312 / 14,471] 364 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,313 / 14,471] 364 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 75s remote-cache, linux-sandbox ... (70 actions running) [14,317 / 14,471] 364 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,317 / 14,471] 365 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 66s remote-cache, linux-sandbox ... (70 actions running) [14,322 / 14,471] 365 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 67s remote-cache, linux-sandbox ... (70 actions running) [14,323 / 14,471] 365 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 68s remote-cache, linux-sandbox ... (70 actions running) [14,325 / 14,471] 366 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 69s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,331 / 14,479] 366 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,337 / 14,503] 366 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 72s remote-cache, linux-sandbox ... (70 actions running) [14,338 / 14,503] 366 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 73s remote-cache, linux-sandbox ... (70 actions running) [14,340 / 14,503] 366 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,346 / 14,503] 368 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,349 / 14,503] 368 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,353 / 14,511] 368 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,354 / 14,511] 368 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 79s remote-cache, linux-sandbox ... (70 actions running) [14,354 / 14,511] 368 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 80s remote-cache, linux-sandbox ... (70 actions running) [14,367 / 14,518] 370 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,373 / 14,524] 370 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,377 / 14,524] 370 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [14,380 / 14,524] 370 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,384 / 14,531] 370 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,386 / 14,531] 371 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,389 / 14,533] 371 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,395 / 14,533] 371 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,397 / 14,533] 371 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [14,397 / 14,533] 372 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 78s remote-cache, linux-sandbox ... (70 actions running) [14,404 / 14,562] 372 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [14,409 / 14,562] 373 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,413 / 14,562] 373 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,417 / 14,562] 373 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,420 / 14,562] 374 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 84s remote-cache, linux-sandbox ... (70 actions running) [14,421 / 14,562] 374 / 415 tests; Testing //pkg/infoschema/test/clustertablestest:clustertablestest_test (shard 14 of 50); 85s remote-cache, linux-sandbox ... (70 actions running) [14,427 / 14,587] 375 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 46s remote-cache, linux-sandbox ... (70 actions running) [14,431 / 14,587] 375 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,433 / 14,587] 375 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 49s remote-cache, linux-sandbox ... (70 actions running) [14,438 / 14,589] 376 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [14,441 / 14,589] 376 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 51s remote-cache, linux-sandbox ... (70 actions running) [14,448 / 14,640] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 52s remote-cache, linux-sandbox ... (70 actions running) [14,450 / 14,640] 377 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 53s remote-cache, linux-sandbox ... (70 actions running) [14,454 / 14,640] 379 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,458 / 14,644] 379 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,464 / 14,644] 379 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 57s remote-cache, linux-sandbox ... (70 actions running) [14,465 / 14,644] 380 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 58s remote-cache, linux-sandbox ... (70 actions running) [14,468 / 14,644] 380 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 60s remote-cache, linux-sandbox ... (70 actions running) [14,478 / 14,644] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,483 / 14,658] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 63s remote-cache, linux-sandbox ... (70 actions running) [14,488 / 14,662] 381 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,498 / 14,682] 382 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 66s remote-cache, linux-sandbox ... (70 actions running) [14,503 / 14,709] 382 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 67s remote-cache, linux-sandbox ... (70 actions running) [14,509 / 14,709] 384 / 415 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 66s remote-cache, linux-sandbox ... (70 actions running) [14,520 / 14,711] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 29 of 42); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,524 / 14,711] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 29 of 42); 34s remote-cache, linux-sandbox ... (70 actions running) [14,529 / 14,721] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 30 of 42); 31s remote-cache, linux-sandbox ... (70 actions running) [14,536 / 14,721] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 30 of 42); 32s remote-cache, linux-sandbox ... (70 actions running) [14,540 / 14,721] 384 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 30 of 42); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,541 / 14,721] 385 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 30 of 42); 34s remote-cache, linux-sandbox ... (70 actions running) [14,551 / 14,730] 386 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 30 of 42); 35s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,558 / 14,737] 386 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 30 of 42); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,562 / 14,737] 386 / 415 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 31 of 42); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,571 / 14,739] 387 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,572 / 14,739] 387 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 34s remote-cache, linux-sandbox ... (70 actions running) [14,582 / 14,739] 388 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,584 / 14,739] 388 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,588 / 14,768] 389 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,592 / 14,768] 390 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,598 / 14,782] 390 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 39s remote-cache, linux-sandbox ... (67 actions, 65 running) [14,601 / 14,782] 390 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,612 / 14,795] 390 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 41s remote-cache, linux-sandbox ... (69 actions running) [14,615 / 14,795] 390 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 43s remote-cache, linux-sandbox ... (70 actions running) [14,624 / 14,846] 391 / 415 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 44s remote-cache, linux-sandbox ... (70 actions running) [14,628 / 14,846] 391 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,640 / 14,868] 391 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,646 / 14,868] 392 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 42s remote-cache, linux-sandbox ... (70 actions running) [14,656 / 14,868] 393 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 43s remote-cache, linux-sandbox ... (70 actions running) [14,657 / 14,868] 393 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 45s remote-cache, linux-sandbox ... (70 actions running) [14,673 / 14,868] 394 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 46s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,675 / 14,868] 395 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 47s remote-cache, linux-sandbox ... (70 actions running) [14,688 / 14,868] 396 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 49s remote-cache, linux-sandbox ... (70 actions running) [14,692 / 14,868] 396 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,694 / 14,868] 396 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,712 / 14,868] 400 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 52s remote-cache, linux-sandbox ... (70 actions running) [14,717 / 14,874] 401 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,720 / 14,874] 401 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 55s remote-cache, linux-sandbox ... (70 actions running) [14,725 / 14,874] 401 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 56s remote-cache, linux-sandbox ... (70 actions running) [14,741 / 14,876] 401 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,749 / 14,876] 401 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,749 / 14,876] 402 / 415 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 60s remote-cache, linux-sandbox ... (70 actions running) [14,755 / 14,876] 402 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 13 of 33); 30s remote-cache, linux-sandbox ... (70 actions running) [14,767 / 14,916] 402 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 13 of 33); 31s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,779 / 14,916] 403 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 13 of 33); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,783 / 14,916] 403 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 13 of 33); 33s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,789 / 14,916] 403 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,796 / 14,916] 404 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 19s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,796 / 14,916] 404 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 20s remote-cache, linux-sandbox ... (70 actions running) [14,814 / 14,916] 406 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,821 / 14,916] 406 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,822 / 14,916] 406 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 24s remote-cache, linux-sandbox ... (70 actions running) [14,824 / 14,916] 406 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,841 / 14,928] 407 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 27s remote-cache, linux-sandbox ... (70 actions running) [14,854 / 14,937] 408 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,854 / 14,937] 408 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 30s remote-cache, linux-sandbox ... (70 actions running) [14,856 / 14,937] 408 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,873 / 14,937] 409 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 14 of 33); 33s remote-cache, linux-sandbox ... (70 actions running) [14,883 / 14,937] 410 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 15 of 33); 24s remote-cache, linux-sandbox ... (70 actions running) [14,888 / 14,937] 410 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 15 of 33); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,890 / 14,937] 410 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 15 of 33); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,898 / 14,937] 410 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 15 of 33); 27s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,914 / 14,937] 410 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 15 of 33); 29s remote-cache, linux-sandbox ... (46 actions running) [14,917 / 14,937] 411 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 15 of 33); 31s remote-cache, linux-sandbox ... (40 actions running) [14,926 / 14,937] 412 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 24s remote-cache, linux-sandbox ... (22 actions running) [14,926 / 14,937] 412 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 27s remote-cache, linux-sandbox ... (22 actions running) [14,927 / 14,937] 412 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 29s remote-cache, linux-sandbox ... (20 actions running) [14,928 / 14,937] 412 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 29s remote-cache, linux-sandbox ... (18 actions running) [14,928 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 31s remote-cache, linux-sandbox ... (18 actions running) [14,929 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 32s remote-cache, linux-sandbox ... (16 actions running) [14,930 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 38s remote-cache, linux-sandbox ... (14 actions running) [14,930 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 39s remote-cache, linux-sandbox ... (14 actions running) [14,932 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 41s remote-cache, linux-sandbox ... (10 actions running) [14,934 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 43s remote-cache, linux-sandbox ... (6 actions running) [14,935 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 44s remote-cache, linux-sandbox ... (4 actions running) [14,935 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 54s remote-cache, linux-sandbox ... (4 actions running) [14,935 / 14,937] 413 / 415 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 67s remote-cache, linux-sandbox ... (4 actions running) [14,936 / 14,937] 414 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 58s remote-cache, linux-sandbox [14,936 / 14,937] 414 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 68s remote-cache, linux-sandbox [14,936 / 14,937] 415 / 415 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 69s remote-cache, linux-sandbox INFO: Elapsed time: 1438.633s, Critical Path: 311.13s INFO: 14925 processes: 5956 remote cache hit, 1675 internal, 7294 linux-sandbox. INFO: Build completed successfully, 14925 total actions //pkg/ddl/tests/partition:partition_test FLAKY, failed in 1 out of 46 in 36.1s Stats over 46 runs: max = 36.1s, min = 1.8s, avg = 5.7s, dev = 5.3s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_45_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_44_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_43_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_42_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_41_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_40_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_39_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_38_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_37_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_36_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_35_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_34_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_33_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_32_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_31_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_30_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_29_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_28_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_27_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_26_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_25_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_24_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_23_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_22_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_21_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_20_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_19_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_18_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_17_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_16_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_15_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_14_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_13_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_12_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_11_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_10_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_9_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_8_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_7_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_6_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_5_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_4_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_3_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_2_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_1_of_45/coverage.dat //pkg/ddl:ddl_test FLAKY, failed in 2 out of 52 in 49.6s Stats over 52 runs: max = 49.6s, min = 12.6s, avg = 20.8s, dev = 6.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_1_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_48_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_5_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_6_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_4_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_46_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_9_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_14_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_8_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_45_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_15_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_16_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_18_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_44_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_19_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_20_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_21_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_22_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_17_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_25_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_26_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_27_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_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_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_42_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_34_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_36_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_38_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_40_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 Test cases: finished with 7994 passing and 0 failing out of 7994 test cases Executed 245 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.