GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/release-7.5/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: 7ab8180c-bbb3-4557-a7ec-e8c317e667af INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-7.5/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/release-7.5/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2024_05_06_07_24_19.738776520/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=315127 --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/release-7.5/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/release-7.5/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, 415 targets configured) Analyzing: target //:gazelle (44 packages loaded, 415 targets configured) Analyzing: target //:gazelle (44 packages loaded, 415 targets configured) Analyzing: target //:gazelle (99 packages loaded, 10450 targets configured) Analyzing: target //:gazelle (99 packages loaded, 10450 targets configured) Analyzing: target //:gazelle (251 packages loaded, 11602 targets configured) INFO: Analyzed target //:gazelle (264 packages loaded, 11912 targets configured). INFO: Found 1 target... [0 / 306] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (4 actions, 3 running) [24 / 311] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 3.2 MiB / 10.3 MiB; 0s remote-cache ... (3 actions, 0 running) [24 / 311] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.0 MiB / 17.2 MiB; 1s remote-cache ... (3 actions, 0 running) [25 / 311] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (2 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 28.232s, Critical Path: 3.95s INFO: 311 processes: 291 remote cache hit, 20 internal. INFO: Build completed successfully, 311 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/release-7.5/ghpr_unit_test/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 19daa163-7ef1-4c10-985a-347dc5d7d425 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-7.5/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/release-7.5/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2024_05_06_07_24_19.738776520/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=315127 --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/release-7.5/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/release-7.5/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 (114 packages loaded, 12870 targets configured) Analyzing: target //tools/tazel:tazel (258 packages loaded, 13693 targets configured) INFO: Analyzed target //tools/tazel:tazel (292 packages loaded, 14086 targets configured). INFO: Found 1 target... [0 / 6] [Prepa] BazelWorkspaceStatusAction stable-status.txt [267 / 573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache [518 / 573] GoCompilePkg external/org_golang_google_grpc/grpc.a; 0s remote-cache [572 / 573] GoLink tools/tazel/tazel_/tazel; Downloading tools/tazel/tazel_/tazel, 2.9 MiB / 22.0 MiB; 0s remote-cache Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.382s, Critical Path: 3.34s INFO: 310 processes: 307 remote cache hit, 3 internal. INFO: Build completed successfully, 310 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/release-7.5/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 --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: 78ab578c-db8e-4292-8894-af03dbeaa2a4 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-7.5/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/release-7.5/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'coverage' from /data/..2024_05_06_07_24_19.738776520/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/release-7.5/ghpr_unit_test/tidb/.bazelrc: Inherited 'test' options: --test_env=TZ=Asia/Shanghai --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/release-7.5/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/release-7.5/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: Using default value for --instrumentation_filter: "^//br/cmd/br[/:],^//br/cmd/tidb-lightning[/:],^//br/cmd/tidb-lightning-ctl[/:],^//br/pkg/aws[/:],^//br/pkg/backup[/:],^//br/pkg/checkpoint[/:],^//br/pkg/checksum[/:],^//br/pkg/config[/:],^//br/pkg/conn[/:],^//br/pkg/errors[/:],^//br/pkg/glue[/:],^//br/pkg/gluetidb[/:],^//br/pkg/gluetikv[/:],^//br/pkg/lightning[/:],^//br/pkg/logutil[/:],^//br/pkg/membuf[/:],^//br/pkg/metautil[/:],^//br/pkg/mock[/:],^//br/pkg/pdutil[/:],^//br/pkg/redact[/:],^//br/pkg/restore[/:],^//br/pkg/rtree[/:],^//br/pkg/storage[/:],^//br/pkg/stream[/:],^//br/pkg/streamhelper[/:],^//br/pkg/summary[/:],^//br/pkg/task/show[/:],^//br/pkg/trace[/:],^//br/pkg/utils[/:],^//br/pkg/version[/:],^//build/linter/constructor[/:],^//dumpling/export[/:],^//pkg/autoid_service[/:],^//pkg/bindinfo[/:],^//pkg/config[/:],^//pkg/ddl[/:],^//pkg/distsql[/:],^//pkg/disttask/framework[/:],^//pkg/disttask/importinto[/:],^//pkg/disttask/operator[/:],^//pkg/domain[/:],^//pkg/errno[/:],^//pkg/executor[/:],^//pkg/expression[/:],^//pkg/extension[/:],^//pkg/infoschema[/:],^//pkg/keyspace[/:],^//pkg/kv[/:],^//pkg/meta[/:],^//pkg/metrics[/:],^//pkg/owner[/:],^//pkg/parser[/:],^//pkg/planner/cardinality[/:],^//pkg/planner/cascades[/:],^//pkg/planner/core[/:],^//pkg/planner/funcdep[/:],^//pkg/planner/implementation[/:],^//pkg/planner/memo[/:],^//pkg/planner/util[/:],^//pkg/plugin[/:],^//pkg/privilege/privileges[/:],^//pkg/resourcemanager[/:],^//pkg/server[/:],^//pkg/session[/:],^//pkg/sessionctx[/:],^//pkg/sessiontxn[/:],^//pkg/statistics[/:],^//pkg/store[/:],^//pkg/structure[/:],^//pkg/table[/:],^//pkg/tablecodec[/:],^//pkg/telemetry[/:],^//pkg/testkit[/:],^//pkg/tidb-binlog/driver/reader[/:],^//pkg/tidb-binlog/node[/:],^//pkg/tidb-binlog/pump_client[/:],^//pkg/timer[/:],^//pkg/ttl/cache[/:],^//pkg/ttl/client[/:],^//pkg/ttl/metrics[/:],^//pkg/ttl/session[/:],^//pkg/ttl/sqlbuilder[/:],^//pkg/ttl/ttlworker[/:],^//pkg/types[/:],^//pkg/util[/:]". INFO: Override the above default with --instrumentation_filter INFO: Build options --@io_bazel_rules_go//go/config:cover_format, --collect_code_coverage, --define, and 3 more have changed, discarding analysis cache. Analyzing: 375 targets (586 packages loaded, 0 targets configured) Analyzing: 375 targets (1162 packages loaded, 16316 targets configured) Analyzing: 375 targets (1421 packages loaded, 20776 targets configured) Analyzing: 375 targets (1558 packages loaded, 22625 targets configured) Analyzing: 375 targets (1671 packages loaded, 23759 targets configured) Analyzing: 375 targets (1804 packages loaded, 24749 targets configured) Analyzing: 375 targets (1804 packages loaded, 24749 targets configured) Analyzing: 375 targets (1851 packages loaded, 25448 targets configured) Analyzing: 375 targets (1856 packages loaded, 26065 targets configured) INFO: Analyzed 375 targets (1856 packages loaded, 26099 targets configured). INFO: Found 375 test targets... [0 / 18] [Prepa] Writing file br/cmd/br/br_test/baseline_coverage.dat ... (16 actions, 0 running) [1,296 / 8,904] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/encoding/gob.a, 760.2 KiB / 1.8 MiB; 0s remote-cache ... (35 actions, 0 running) [1,350 / 8,904] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (35 actions, 0 running) [1,358 / 8,904] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 12.0 MiB / 17.2 MiB; 2s remote-cache ... (35 actions, 0 running) [1,395 / 8,904] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (36 actions, 2 running) [1,863 / 8,904] GoCompilePkg external/org_uber_go_zap/zapcore/zapcore.a [for tool]; 0s remote-cache ... (35 actions, 0 running) [2,413 / 8,915] GoCompilePkg external/org_golang_x_crypto/curve25519/curve25519.a; Downloading external/org_golang_x_crypto/curve25519/curve25519.x; 0s remote-cache ... (34 actions, 0 running) [2,923 / 8,938] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 38.0 MiB / 96.2 MiB; 0s remote-cache ... (35 actions, 0 running) [3,116 / 8,994] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 72.0 MiB / 96.2 MiB; 1s remote-cache ... (35 actions, 0 running) [3,311 / 9,078] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; 2s remote-cache ... (35 actions, 0 running) [3,605 / 9,091] 6 / 375 tests; GoLink pkg/parser/parser_test_/parser_test; 0s remote-cache ... (35 actions, 0 running) [4,086 / 9,206] 54 / 375 tests; GoCompilePkg external/com_github_vbauerster_mpb_v7/decor/decor.a; 0s remote-cache ... (35 actions, 0 running) [4,493 / 9,206] 65 / 375 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, 32.1 MiB / 76.2 MiB; 0s remote-cache ... (35 actions, 0 running) [4,675 / 9,208] 66 / 375 tests; GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 6.9 MiB / 12.4 MiB; 0s remote-cache ... (35 actions, 0 running) [4,836 / 9,208] 66 / 375 tests; GoCompilePkg pkg/parser/parser.a; Downloading pkg/parser/parser.a, 5.4 MiB / 12.7 MiB; 0s remote-cache ... (10 actions, 0 running) [4,896 / 9,218] 70 / 375 tests; GoLink pkg/util/execdetails/execdetails_test_/execdetails_test; Downloading pkg/util/execdetails/execdetails_test_/execdetails_test, 18.1 MiB / 26.3 MiB; 0s remote-cache ... (4 actions, 0 running) [5,021 / 9,224] 72 / 375 tests; GoLink pkg/util/collate/collate_test_/collate_test; Downloading pkg/util/collate/collate_test_/collate_test, 20.0 MiB / 24.1 MiB; 0s remote-cache ... (35 actions, 0 running) [5,108 / 9,258] 77 / 375 tests; GoLink br/pkg/lightning/log/log_test_/log_test; 1s remote-cache ... (35 actions, 0 running) [5,221 / 9,277] 84 / 375 tests; GoLink pkg/util/timeutil/timeutil_test_/timeutil_test; Downloading pkg/util/timeutil/timeutil_test_/timeutil_test, 22.0 MiB / 28.0 MiB; 1s remote-cache ... (35 actions, 0 running) [5,320 / 9,300] 87 / 375 tests; GoLink pkg/util/parser/parser_test_/parser_test; Downloading pkg/util/parser/parser_test_/parser_test, 32.8 MiB / 37.8 MiB; 1s remote-cache ... (35 actions, 0 running) [5,417 / 9,332] 96 / 375 tests; GoLink pkg/store/driver/error/error_test_/error_test; Downloading pkg/store/driver/error/error_test_/error_test, 14.0 MiB / 27.9 MiB; 0s remote-cache ... (34 actions, 0 running) [5,513 / 9,421] 99 / 375 tests; GoLink br/pkg/logutil/logutil_test_/logutil_test; Downloading br/pkg/logutil/logutil_test_/logutil_test, 28.2 MiB / 29.0 MiB; 1s remote-cache ... (35 actions, 0 running) [5,584 / 9,474] 101 / 375 tests; GoLink pkg/util/topsql/collector/collector_test_/collector_test; Downloading pkg/util/topsql/collector/collector_test_/collector_test, 26.0 MiB / 29.6 MiB; 1s remote-cache ... (35 actions, 0 running) [5,676 / 9,486] 105 / 375 tests; GoLink pkg/util/localpool/localpool_test_/localpool_test; 2s remote-cache ... (35 actions, 0 running) [5,792 / 9,541] 115 / 375 tests; GoLink pkg/util/servermemorylimit/servermemorylimit_test_/servermemorylimit_test; Downloading pkg/util/servermemorylimit/servermemorylimit_test_/servermemorylimit_test, 35.0 MiB / 39.6 MiB; 1s remote-cache ... (37 actions, 4 running) [5,877 / 9,548] 116 / 375 tests; GoCompilePkg pkg/meta/copr.recompile525.a; 1s remote-cache, linux-sandbox ... (37 actions, 4 running) [5,926 / 9,554] 117 / 375 tests; GoCompilePkg pkg/meta/copr.recompile525.a; 2s remote-cache, linux-sandbox ... (39 actions, 8 running) [5,968 / 9,554] 117 / 375 tests; GoCompilePkg pkg/metrics/expression.recompile471.a; Downloading pkg/metrics/expression.recompile471.a, 39.0 MiB / 80.5 MiB; 3s remote-cache ... (37 actions, 4 running) [5,999 / 9,554] 118 / 375 tests; GoCompilePkg pkg/metrics/expression.recompile471.a; Downloading pkg/metrics/expression.recompile471.a, 49.0 MiB / 80.5 MiB; 4s remote-cache ... (38 actions, 6 running) [6,047 / 9,582] 118 / 375 tests; GoCompilePkg pkg/metrics/expression.recompile471.a; Downloading pkg/metrics/expression.recompile471.a, 59.0 MiB / 80.5 MiB; 5s remote-cache ... (36 actions, 2 running) [6,094 / 9,594] 120 / 375 tests; GoCompilePkg pkg/metrics/expression.recompile471.a; Downloading pkg/metrics/expression.recompile471.a, 70.0 MiB / 80.5 MiB; 6s remote-cache ... (36 actions, 2 running) [6,142 / 9,596] 125 / 375 tests; GoCompilePkg pkg/metrics/expression.recompile471.a; 7s remote-cache ... (37 actions, 4 running) [6,188 / 9,600] 125 / 375 tests; GoCompilePkg pkg/sessionctx/sessionstates/expression.recompile1058.a; Downloading pkg/sessionctx/sessionstates/expression.recompile1058.a, 77.0 MiB / 80.5 MiB; 7s remote-cache ... (38 actions, 6 running) [6,226 / 9,602] 129 / 375 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 47.0 MiB / 80.5 MiB; 4s remote-cache ... (39 actions, 8 running) [6,265 / 9,604] 130 / 375 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 58.0 MiB / 80.5 MiB; 5s remote-cache ... (39 actions, 10 running) [6,300 / 9,615] 131 / 375 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 69.0 MiB / 80.5 MiB; 6s remote-cache ... (43 actions, 16 running) [6,340 / 9,623] 133 / 375 tests; GoCompilePkg pkg/expression/expression.a; 7s remote-cache ... (42 actions, 14 running) [6,407 / 9,635] 136 / 375 tests; GoCompilePkg pkg/extension/expression.recompile1061.a; 7s remote-cache ... (41 actions, 13 running) [6,475 / 9,637] 136 / 375 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 70.0 MiB / 153.3 MiB; 5s remote-cache ... (44 actions, 20 running) [6,544 / 9,666] 138 / 375 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 89.0 MiB / 153.3 MiB; 6s remote-cache ... (43 actions, 18 running) [6,602 / 9,683] 140 / 375 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 107.5 MiB / 153.3 MiB; 7s remote-cache ... (44 actions, 18 running) [6,652 / 9,688] 140 / 375 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 122.0 MiB / 153.3 MiB; 9s remote-cache ... (44 actions, 20 running) [6,652 / 9,688] 140 / 375 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 122.0 MiB / 153.3 MiB; 10s remote-cache ... (45 actions, 20 running) [6,685 / 9,688] 141 / 375 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 131.1 MiB / 153.3 MiB; 11s remote-cache ... (46 actions, 22 running) [6,762 / 9,722] 143 / 375 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 12s remote-cache ... (44 actions, 19 running) [6,846 / 9,737] 144 / 375 tests; GoLink pkg/store/driver/txn/txn_test_/txn_test; Downloading pkg/store/driver/txn/txn_test_/txn_test, 43.0 MiB / 51.2 MiB; 1s remote-cache ... (47 actions, 24 running) [6,931 / 9,743] 145 / 375 tests; GoLink pkg/executor/mppcoordmanager/mppcoordmanager_test_/mppcoordmanager_test; 2s remote-cache, linux-sandbox ... (45 actions, 20 running) [7,011 / 9,745] 146 / 375 tests; GoLink pkg/meta/meta_test_/meta_test; 3s remote-cache, linux-sandbox ... (49 actions, 28 running) [7,063 / 9,758] 147 / 375 tests; Testing //pkg/store/copr:copr_test (shard 29 of 29); 4s remote-cache, linux-sandbox ... (49 actions, 28 running) [7,125 / 9,823] 147 / 375 tests; GoCompilePkg pkg/sessionctx/stmtctx/ddl.recompile1103.a; 4s remote-cache, linux-sandbox ... (51 actions, 33 running) [7,184 / 9,878] 149 / 375 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 47.0 MiB / 110.4 MiB; 2s remote-cache ... (48 actions, 26 running) [7,233 / 9,878] 151 / 375 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 65.0 MiB / 110.4 MiB; 3s remote-cache ... (52 actions, 34 running) [7,270 / 9,878] 151 / 375 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 80.0 MiB / 110.4 MiB; 4s remote-cache ... (52 actions, 36 running) [7,300 / 9,886] 151 / 375 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; Downloading br/pkg/streamhelper/streamhelper_test_/streamhelper_test, 90.0 MiB / 110.4 MiB; 5s remote-cache ... (52 actions, 34 running) [7,330 / 9,886] 151 / 375 tests; GoLink br/pkg/streamhelper/streamhelper_test_/streamhelper_test; 6s remote-cache ... (54 actions, 38 running) [7,380 / 9,951] 153 / 375 tests; Testing //pkg/store/copr:copr_test (shard 1 of 29); 7s remote-cache, linux-sandbox ... (55 actions, 40 running) [7,434 / 9,960] 155 / 375 tests; Testing //pkg/store/copr:copr_test (shard 1 of 29); 8s remote-cache, linux-sandbox ... (56 actions, 45 running) [7,476 / 9,991] 156 / 375 tests; Testing //pkg/store/copr:copr_test (shard 1 of 29); 9s remote-cache, linux-sandbox ... (59 actions, 49 running) [7,514 / 10,000] 159 / 375 tests; Testing //pkg/store/copr:copr_test (shard 1 of 29); 10s remote-cache, linux-sandbox ... (62 actions, 54 running) [7,565 / 10,000] 160 / 375 tests; Testing //pkg/ddl/placement:placement_test (shard 3 of 25); 3s remote-cache, linux-sandbox ... (62 actions, 54 running) [7,601 / 10,018] 161 / 375 tests; Testing //pkg/store/copr:copr_test (shard 5 of 29); 4s remote-cache, linux-sandbox ... (63 actions, 56 running) [7,625 / 10,020] 162 / 375 tests; Testing //pkg/ddl/placement:placement_test (shard 5 of 25); 2s remote-cache, linux-sandbox ... (62 actions, 54 running) [7,650 / 10,031] 165 / 375 tests; Testing //pkg/ddl/placement:placement_test (shard 5 of 25); 3s remote-cache, linux-sandbox ... (63 actions, 56 running) [7,667 / 10,031] 166 / 375 tests; Testing //pkg/store/copr:copr_test (shard 26 of 29); 4s remote-cache, linux-sandbox ... (64 actions, 58 running) [7,697 / 10,134] 167 / 375 tests; GoCompilePkg pkg/sessionctx/binloginfo/ddl.recompile1109.a; 5s remote-cache, linux-sandbox ... (63 actions, 57 running) [7,732 / 10,134] 169 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 6s remote-cache, linux-sandbox ... (63 actions, 58 running) [7,758 / 10,139] 169 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 7s remote-cache, linux-sandbox ... (65 actions, 60 running) [7,778 / 10,187] 170 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 8s remote-cache, linux-sandbox ... (65 actions, 60 running) [7,834 / 10,189] 171 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 9s remote-cache, linux-sandbox ... (65 actions, 60 running) [7,858 / 10,189] 171 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 10s remote-cache, linux-sandbox ... (65 actions, 60 running) [7,888 / 10,226] 172 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 11s remote-cache, linux-sandbox ... (66 actions, 62 running) [7,941 / 10,226] 173 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 12s remote-cache, linux-sandbox ... (68 actions, 66 running) [7,966 / 10,226] 174 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 13s remote-cache, linux-sandbox ... (68 actions, 66 running) [7,998 / 10,237] 175 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,009 / 10,237] 176 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,038 / 10,252] 176 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,051 / 10,252] 177 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 18s remote-cache, linux-sandbox ... (66 actions, 64 running) [8,077 / 10,257] 178 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 19s remote-cache, linux-sandbox ... (68 actions, 67 running) [8,106 / 10,257] 179 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 20s remote-cache, linux-sandbox ... (68 actions, 66 running) [8,133 / 10,262] 180 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,148 / 10,262] 180 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 23s remote-cache, linux-sandbox ... (70 actions running) [8,169 / 10,262] 180 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 24s remote-cache, linux-sandbox ... (70 actions running) [8,169 / 10,262] 180 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 25s remote-cache, linux-sandbox ... (70 actions running) [8,197 / 10,270] 181 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,205 / 10,270] 182 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 28s remote-cache, linux-sandbox ... (70 actions running) [8,206 / 10,270] 182 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 29s remote-cache, linux-sandbox ... (70 actions running) [8,207 / 10,270] 182 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,228 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 31s remote-cache, linux-sandbox ... (70 actions running) [8,239 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 32s remote-cache, linux-sandbox ... (67 actions, 66 running) [8,266 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,284 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,290 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,304 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 37s remote-cache, linux-sandbox ... (70 actions running) [8,313 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,319 / 10,270] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,336 / 10,272] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,340 / 10,272] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,343 / 10,272] 183 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 43s remote-cache, linux-sandbox ... (70 actions running) [8,343 / 10,272] 184 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 45s remote-cache, linux-sandbox ... (70 actions running) [8,360 / 10,272] 184 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 46s remote-cache, linux-sandbox ... (70 actions running) [8,365 / 10,272] 184 / 375 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,369 / 10,272] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 17s remote-cache, linux-sandbox ... (69 actions running) [8,378 / 10,272] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,398 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,422 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,429 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 22s remote-cache, linux-sandbox ... (70 actions running) [8,454 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 23s remote-cache, linux-sandbox ... (69 actions running) [8,471 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 24s remote-cache, linux-sandbox ... (69 actions running) [8,482 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,494 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 27s remote-cache, linux-sandbox ... (70 actions running) [8,495 / 10,283] 185 / 375 tests; GoCompilePkg br/pkg/lightning/backend/kv/core.recompile1020.a; 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,515 / 10,285] 185 / 375 tests; GoCompilePkg pkg/expression/core.recompile1132.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,522 / 10,285] 185 / 375 tests; GoCompilePkg pkg/expression/core.recompile1132.a; 28s remote-cache, linux-sandbox ... (65 actions, 60 running) [8,540 / 10,285] 185 / 375 tests; GoCompilePkg pkg/expression/core.recompile1132.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,544 / 10,338] 185 / 375 tests; GoCompilePkg pkg/expression/core.recompile1132.a; 31s remote-cache, linux-sandbox ... (70 actions running) [8,570 / 10,338] 187 / 375 tests; GoCompilePkg pkg/planner/funcdep/executor.recompile1142.a; 15s remote-cache, linux-sandbox ... (70 actions running) [8,580 / 10,338] 187 / 375 tests; GoCompilePkg pkg/sessionctx/sessionstates/executor.recompile1168.a; 11s remote-cache, linux-sandbox ... (70 actions running) [8,602 / 10,338] 187 / 375 tests; GoCompilePkg pkg/sessionctx/sessionstates/executor.recompile1168.a; 13s remote-cache, linux-sandbox ... (70 actions running) [8,602 / 10,338] 187 / 375 tests; GoCompilePkg pkg/sessionctx/sessionstates/executor.recompile1168.a; 14s remote-cache, linux-sandbox ... (70 actions running) [8,629 / 10,338] 187 / 375 tests; GoCompilePkg pkg/statistics/executor.recompile1144.a; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,635 / 10,338] 187 / 375 tests; GoCompilePkg pkg/statistics/executor.recompile1144.a; 11s remote-cache, linux-sandbox ... (70 actions running) [8,660 / 10,360] 187 / 375 tests; GoCompilePkg pkg/sessionctx/binloginfo/executor.recompile1142.a; 11s remote-cache, linux-sandbox ... (70 actions running) [8,663 / 10,362] 187 / 375 tests; GoCompilePkg pkg/sessionctx/binloginfo/executor.recompile1142.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,663 / 10,362] 188 / 375 tests; GoCompilePkg pkg/sessionctx/binloginfo/executor.recompile1142.a; 13s remote-cache, linux-sandbox ... (70 actions running) [8,685 / 10,362] 189 / 375 tests; GoLink pkg/sessionctx/variable/variable_test_/variable_test; 13s remote-cache, linux-sandbox ... (70 actions running) [8,698 / 10,430] 190 / 375 tests; GoLink pkg/sessionctx/stmtctx/stmtctx_test_/stmtctx_test; 13s remote-cache, linux-sandbox ... (70 actions running) [8,698 / 10,430] 190 / 375 tests; GoLink pkg/sessionctx/stmtctx/stmtctx_test_/stmtctx_test; 14s remote-cache, linux-sandbox ... (70 actions running) [8,723 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,754 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,761 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 13s remote-cache, linux-sandbox ... (70 actions running) [8,781 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,797 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,806 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,812 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,816 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,824 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 20s remote-cache, linux-sandbox ... (70 actions running) [8,825 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 22s remote-cache, linux-sandbox ... (70 actions running) [8,825 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 23s remote-cache, linux-sandbox ... (70 actions running) [8,825 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 25s remote-cache, linux-sandbox ... (70 actions running) [8,848 / 10,441] 190 / 375 tests; GoCompilePkg pkg/statistics/handle/core.recompile1129.a; 26s remote-cache, linux-sandbox ... (70 actions running) [8,855 / 10,441] 190 / 375 tests; GoLink pkg/planner/funcdep/funcdep_test_/funcdep_test; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,885 / 10,457] 190 / 375 tests; GoLink pkg/structure/structure_test_/structure_test; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,911 / 10,497] 190 / 375 tests; Testing //br/pkg/lightning/backend/kv:kv_test (shard 16 of 19); 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,912 / 10,497] 190 / 375 tests; Testing //br/pkg/lightning/backend/kv:kv_test (shard 16 of 19); 5s remote-cache, linux-sandbox ... (70 actions running) [8,912 / 10,497] 190 / 375 tests; Testing //br/pkg/lightning/backend/kv:kv_test (shard 16 of 19); 6s remote-cache, linux-sandbox ... (70 actions running) [8,912 / 10,497] 191 / 375 tests; Testing //br/pkg/lightning/backend/kv:kv_test (shard 16 of 19); 8s remote-cache, linux-sandbox ... (70 actions running) [8,945 / 10,497] 191 / 375 tests; GoLink pkg/sessionctx/binloginfo/binloginfo_test_/binloginfo_test; 7s remote-cache, linux-sandbox ... (70 actions running) [8,948 / 10,497] 191 / 375 tests; GoLink pkg/sessionctx/binloginfo/binloginfo_test_/binloginfo_test; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,970 / 10,497] 191 / 375 tests; GoLink pkg/sessionctx/binloginfo/binloginfo_test_/binloginfo_test; 10s remote-cache, linux-sandbox ... (70 actions running) [8,989 / 10,497] 191 / 375 tests; GoLink pkg/sessionctx/binloginfo/binloginfo_test_/binloginfo_test; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,015 / 10,539] 191 / 375 tests; Testing //br/pkg/lightning/backend/local:local_test (shard 44 of 50); 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,016 / 10,539] 191 / 375 tests; Testing //br/pkg/lightning/backend/local:local_test (shard 44 of 50); 8s remote-cache, linux-sandbox ... (70 actions running) [9,026 / 10,539] 191 / 375 tests; Testing //br/pkg/lightning/backend/local:local_test (shard 44 of 50); 9s remote-cache, linux-sandbox ... (70 actions running) [9,044 / 10,539] 191 / 375 tests; Testing //br/pkg/lightning/backend/local:local_test (shard 44 of 50); 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,053 / 10,539] 191 / 375 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 10s remote-cache, linux-sandbox ... (70 actions running) [9,055 / 10,539] 191 / 375 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 11s remote-cache, linux-sandbox ... (70 actions running) [9,080 / 10,556] 193 / 375 tests; GoLink pkg/extension/extension_test_/extension_test; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,084 / 10,572] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 11s remote-cache, linux-sandbox ... (70 actions running) [9,084 / 10,572] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 12s remote-cache, linux-sandbox ... (70 actions running) [9,085 / 10,572] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,105 / 10,572] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,124 / 10,572] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,136 / 10,599] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,143 / 10,599] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 18s remote-cache, linux-sandbox ... (70 actions running) [9,144 / 10,599] 193 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 19s remote-cache, linux-sandbox ... (70 actions running) [9,154 / 10,599] 194 / 375 tests; GoCompilePkg pkg/expression/executor.recompile1145.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,171 / 10,630] 194 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,181 / 10,630] 194 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,203 / 10,630] 194 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 19s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,203 / 10,630] 194 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 20s remote-cache, linux-sandbox ... (70 actions running) [9,203 / 10,630] 194 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 21s remote-cache, linux-sandbox ... (70 actions running) [9,213 / 10,630] 195 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 22s remote-cache, linux-sandbox ... (70 actions running) [9,221 / 10,630] 195 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 24s remote-cache, linux-sandbox ... (70 actions running) [9,222 / 10,630] 195 / 375 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1132.a; 25s remote-cache, linux-sandbox ... (70 actions running) [9,236 / 10,630] 195 / 375 tests; GoCompilePkg pkg/statistics/handle/executor.recompile1142.a; 22s remote-cache, linux-sandbox ... (70 actions running) [9,236 / 10,630] 195 / 375 tests; GoCompilePkg pkg/statistics/handle/executor.recompile1142.a; 24s remote-cache, linux-sandbox ... (70 actions running) [9,272 / 10,634] 196 / 375 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1129.a; 18s remote-cache, linux-sandbox ... (70 actions running) [9,278 / 10,634] 196 / 375 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1129.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,295 / 10,634] 198 / 375 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1129.a; 21s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,308 / 10,634] 198 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,338 / 10,634] 198 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 5s remote-cache, linux-sandbox ... (70 actions running) [9,339 / 10,634] 198 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,367 / 10,634] 198 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 8s remote-cache, linux-sandbox ... (70 actions running) [9,367 / 10,634] 198 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 9s remote-cache, linux-sandbox ... (70 actions running) [9,368 / 10,634] 198 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,388 / 10,636] 198 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 12s remote-cache, linux-sandbox ... (70 actions running) [9,400 / 10,636] 199 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 13s remote-cache, linux-sandbox ... (70 actions running) [9,413 / 10,636] 199 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,435 / 10,644] 199 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 15s remote-cache, linux-sandbox ... (69 actions running) [9,445 / 10,644] 199 / 375 tests; GoLink pkg/owner/owner_test_/owner_test; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,468 / 10,650] 200 / 375 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 13 of 16); 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,478 / 10,650] 200 / 375 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 13 of 16); 16s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,481 / 10,650] 200 / 375 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 13 of 16); 17s remote-cache, linux-sandbox ... (70 actions running) [9,501 / 10,656] 200 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,507 / 10,656] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 15s remote-cache, linux-sandbox ... (70 actions running) [9,507 / 10,656] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (70 actions running) [9,512 / 10,674] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 17s remote-cache, linux-sandbox ... (70 actions running) [9,526 / 10,725] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,527 / 10,725] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 20s remote-cache, linux-sandbox ... (70 actions running) [9,527 / 10,725] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 21s remote-cache, linux-sandbox ... (70 actions running) [9,528 / 10,725] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,551 / 10,725] 201 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,569 / 10,785] 202 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,574 / 10,785] 202 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 26s remote-cache, linux-sandbox ... (70 actions running) [9,582 / 10,785] 202 / 375 tests; GoCompilePkg pkg/planner/core/core.a; 27s remote-cache, linux-sandbox ... (70 actions running) [9,609 / 10,861] 202 / 375 tests; GoCompilePkg pkg/bindinfo/core.recompile1157.a; 19s remote-cache, linux-sandbox ... (69 actions running) [9,619 / 10,861] 202 / 375 tests; GoCompilePkg pkg/bindinfo/core.recompile1157.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,628 / 10,861] 202 / 375 tests; GoCompilePkg pkg/bindinfo/core.recompile1157.a; 22s remote-cache, linux-sandbox ... (70 actions running) [9,628 / 10,861] 202 / 375 tests; GoCompilePkg pkg/bindinfo/core.recompile1157.a; 23s remote-cache, linux-sandbox ... (70 actions running) [9,645 / 10,861] 202 / 375 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1144.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,647 / 10,912] 203 / 375 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1144.a; 16s remote-cache, linux-sandbox ... (70 actions running) [9,661 / 10,912] 204 / 375 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1144.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,672 / 10,912] 204 / 375 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1144.a; 19s remote-cache, linux-sandbox ... (70 actions running) [9,672 / 10,912] 204 / 375 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1144.a; 20s remote-cache, linux-sandbox ... (70 actions running) [9,674 / 10,912] 205 / 375 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1144.a; 21s remote-cache, linux-sandbox ... (70 actions running) [9,702 / 10,916] 205 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,702 / 10,916] 205 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 18s remote-cache, linux-sandbox ... (70 actions running) [9,717 / 10,916] 206 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 19s remote-cache, linux-sandbox ... (70 actions running) [9,718 / 10,916] 206 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,742 / 10,916] 208 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,744 / 10,916] 208 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 23s remote-cache, linux-sandbox ... (70 actions running) [9,745 / 10,916] 208 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 24s remote-cache, linux-sandbox ... (70 actions running) [9,766 / 10,918] 208 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 26s remote-cache, linux-sandbox ... (70 actions running) [9,786 / 10,927] 208 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 27s remote-cache, linux-sandbox ... (70 actions running) [9,792 / 10,927] 208 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,806 / 10,927] 209 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 8 of 8); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,808 / 10,927] 209 / 375 tests; Testing //pkg/ddl:ddl_test (shard 50 of 50); 27s remote-cache, linux-sandbox ... (70 actions running) [9,838 / 10,927] 209 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 20s remote-cache, linux-sandbox ... (70 actions running) [9,839 / 10,927] 209 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,860 / 10,927] 209 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,871 / 10,927] 210 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 23s remote-cache, linux-sandbox ... (68 actions, 67 running) [9,893 / 10,927] 212 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 25s remote-cache, linux-sandbox ... (70 actions running) [9,894 / 10,927] 212 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 26s remote-cache, linux-sandbox ... (70 actions running) [9,895 / 10,927] 212 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 28s remote-cache, linux-sandbox ... (70 actions running) [9,920 / 10,927] 213 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 29s remote-cache, linux-sandbox ... (70 actions running) [9,921 / 10,927] 213 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 31s remote-cache, linux-sandbox ... (70 actions running) [9,941 / 10,927] 213 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 32s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,950 / 10,927] 213 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,957 / 10,927] 213 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 35s remote-cache, linux-sandbox ... (70 actions running) [9,967 / 10,927] 214 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,982 / 10,927] 214 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 37s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,991 / 10,927] 215 / 375 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [9,999 / 10,927] 215 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,010 / 10,927] 215 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 22s remote-cache, linux-sandbox ... (70 actions running) [10,011 / 10,933] 215 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 23s remote-cache, linux-sandbox ... (69 actions running) [10,014 / 10,933] 215 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 25s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,029 / 11,000] 215 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 26s remote-cache, linux-sandbox ... (70 actions running) [10,030 / 11,000] 215 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 27s remote-cache, linux-sandbox ... (70 actions running) [10,031 / 11,000] 215 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,044 / 11,000] 217 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 30s remote-cache, linux-sandbox ... (67 actions running) [10,059 / 11,002] 217 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 7 of 8); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,068 / 11,002] 219 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 27s remote-cache, linux-sandbox ... (70 actions running) [10,087 / 11,104] 219 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 28s remote-cache, linux-sandbox ... (70 actions running) [10,094 / 11,104] 219 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,101 / 11,104] 219 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,109 / 11,104] 220 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,114 / 11,104] 220 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,120 / 11,108] 220 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 34s remote-cache, linux-sandbox ... (70 actions running) [10,133 / 11,108] 222 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 36s remote-cache, linux-sandbox ... (70 actions running) [10,133 / 11,108] 222 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 37s remote-cache, linux-sandbox ... (70 actions running) [10,134 / 11,108] 222 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,148 / 11,108] 222 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,159 / 11,108] 222 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,162 / 11,110] 222 / 375 tests; Testing //pkg/statistics/handle:handle_test (shard 1 of 8); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,174 / 11,112] 222 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,178 / 11,112] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 29s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,185 / 11,112] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 30s remote-cache, linux-sandbox ... (70 actions running) [10,192 / 11,112] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,200 / 11,112] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,204 / 11,112] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 34s remote-cache, linux-sandbox ... (70 actions running) [10,205 / 11,112] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 35s remote-cache, linux-sandbox ... (70 actions running) [10,207 / 11,112] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 36s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,219 / 11,114] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 38s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,222 / 11,137] 224 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 39s remote-cache, linux-sandbox ... (70 actions running) [10,225 / 11,137] 225 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [10,225 / 11,137] 226 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 42s remote-cache, linux-sandbox ... (70 actions running) [10,243 / 11,137] 226 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,250 / 11,181] 226 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,258 / 11,183] 226 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,263 / 11,234] 226 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [10,273 / 11,250] 226 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,278 / 11,250] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,283 / 11,250] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [10,285 / 11,250] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [10,286 / 11,250] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,291 / 11,250] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [10,293 / 11,250] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,297 / 11,257] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,300 / 11,257] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,304 / 11,257] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [10,307 / 11,257] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [10,318 / 11,257] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 61s remote-cache, linux-sandbox ... (69 actions running) [10,322 / 11,257] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,333 / 11,278] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,339 / 11,278] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [10,343 / 11,329] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [10,351 / 11,329] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [10,352 / 11,329] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,359 / 11,329] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 71s remote-cache, linux-sandbox ... (70 actions running) [10,362 / 11,346] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 72s remote-cache, linux-sandbox ... (70 actions running) [10,372 / 11,346] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,379 / 11,346] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [10,385 / 11,346] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [10,386 / 11,346] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,388 / 11,346] 228 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [10,395 / 11,346] 229 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [10,405 / 11,346] 229 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,412 / 11,346] 229 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 83s remote-cache, linux-sandbox ... (70 actions running) [10,413 / 11,346] 229 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,421 / 11,346] 229 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 85s remote-cache, linux-sandbox ... (65 actions, 62 running) [10,421 / 11,346] 229 / 375 tests; Testing //pkg/expression:expression_test (shard 3 of 50); 87s remote-cache, linux-sandbox ... (70 actions running) [10,430 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,433 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,440 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,444 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,450 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [10,457 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 87s remote-cache, linux-sandbox ... (70 actions running) [10,466 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,469 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,470 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,477 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 92s remote-cache, linux-sandbox ... (70 actions running) [10,478 / 11,346] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,483 / 11,361] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,485 / 11,361] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 96s remote-cache, linux-sandbox ... (70 actions running) [10,500 / 11,361] 230 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 97s remote-cache, linux-sandbox ... (70 actions running) [10,505 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,511 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 99s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,515 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 100s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,519 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 102s remote-cache, linux-sandbox ... (70 actions running) [10,529 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 103s remote-cache, linux-sandbox ... (69 actions running) [10,531 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,532 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 105s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,536 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 107s remote-cache, linux-sandbox ... (70 actions running) [10,537 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,545 / 11,361] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 110s remote-cache, linux-sandbox ... (70 actions running) [10,549 / 11,380] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 111s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,552 / 11,380] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 112s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,566 / 11,380] 231 / 375 tests; Testing //pkg/expression:expression_test (shard 4 of 50); 114s remote-cache, linux-sandbox ... (70 actions running) [10,577 / 11,380] 231 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 42s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,585 / 11,380] 231 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [10,587 / 11,380] 231 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,594 / 11,380] 231 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,601 / 11,380] 232 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,610 / 11,380] 233 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,617 / 11,380] 234 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,617 / 11,380] 234 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [10,620 / 11,380] 234 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 52s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,623 / 11,380] 234 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,624 / 11,380] 235 / 375 tests; Testing //pkg/ddl:ddl_test (shard 15 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [10,635 / 11,380] 235 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 8 of 48); 54s remote-cache, linux-sandbox ... (70 actions running) [10,639 / 11,380] 236 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 8 of 48); 55s remote-cache, linux-sandbox ... (70 actions running) [10,645 / 11,380] 236 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 8 of 48); 56s remote-cache, linux-sandbox ... (69 actions running) [10,646 / 11,380] 236 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 8 of 48); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,657 / 11,380] 236 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,664 / 11,380] 236 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,673 / 11,380] 236 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,679 / 11,380] 236 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,685 / 11,380] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 47s remote-cache, linux-sandbox ... (70 actions running) [10,687 / 11,395] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 49s remote-cache, linux-sandbox ... (70 actions running) [10,688 / 11,395] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 51s remote-cache, linux-sandbox ... (70 actions running) [10,703 / 11,395] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 52s remote-cache, linux-sandbox ... (70 actions running) [10,707 / 11,395] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,716 / 11,397] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,721 / 11,397] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 56s remote-cache, linux-sandbox ... (70 actions running) [10,724 / 11,408] 237 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 57s remote-cache, linux-sandbox ... (70 actions running) [10,725 / 11,408] 238 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 58s remote-cache, linux-sandbox ... (68 actions running) [10,744 / 11,408] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,750 / 11,408] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 61s remote-cache, linux-sandbox ... (70 actions running) [10,755 / 11,408] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 63s remote-cache, linux-sandbox ... (70 actions running) [10,759 / 11,435] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 64s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,762 / 11,444] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,769 / 11,444] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 48); 67s remote-cache, linux-sandbox ... (70 actions running) [10,777 / 11,444] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 40 of 48); 32s remote-cache, linux-sandbox ... (70 actions running) [10,779 / 11,446] 240 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 40 of 48); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,794 / 11,446] 242 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 13 of 48); 29s remote-cache, linux-sandbox ... (70 actions running) [10,800 / 11,446] 242 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 13 of 48); 30s remote-cache, linux-sandbox ... (70 actions running) [10,804 / 11,446] 242 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 13 of 48); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,816 / 11,446] 242 / 375 tests; Testing //pkg/expression:expression_test (shard 37 of 50); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,824 / 11,446] 242 / 375 tests; Testing //pkg/expression:expression_test (shard 26 of 50); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,826 / 11,446] 242 / 375 tests; Testing //pkg/expression:expression_test (shard 26 of 50); 18s remote-cache, linux-sandbox ... (70 actions running) [10,834 / 11,446] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,840 / 11,446] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,847 / 11,446] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 22s remote-cache, linux-sandbox ... (70 actions running) [10,848 / 11,446] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 23s remote-cache, linux-sandbox ... (70 actions running) [10,849 / 11,446] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,862 / 11,446] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,867 / 11,446] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 28s remote-cache, linux-sandbox ... (70 actions running) [10,873 / 11,448] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 29s remote-cache, linux-sandbox ... (70 actions running) [10,875 / 11,448] 243 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,888 / 11,448] 244 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,894 / 11,448] 244 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,908 / 11,450] 244 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,912 / 11,450] 244 / 375 tests; Testing //pkg/executor/asyncloaddata:asyncloaddata_test (shard 3 of 6); 35s remote-cache, linux-sandbox ... (70 actions running) [10,927 / 11,450] 245 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 28s remote-cache, linux-sandbox ... (70 actions running) [10,930 / 11,450] 245 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 29s remote-cache, linux-sandbox ... (70 actions running) [10,938 / 11,450] 245 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 30s remote-cache, linux-sandbox ... (70 actions running) [10,939 / 11,450] 245 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,951 / 11,450] 246 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 34s remote-cache, linux-sandbox ... (70 actions running) [10,953 / 11,450] 246 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 36s remote-cache, linux-sandbox ... (67 actions, 66 running) FAIL: //pkg/ddl:ddl_test (shard 36 of 50) (see /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_36_of_50/test_attempts/attempt_1.log) [10,974 / 11,477] 246 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 37s remote-cache, linux-sandbox ... (70 actions running) [10,989 / 11,477] 246 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 15 of 48); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,995 / 11,477] 246 / 375 tests; Testing //pkg/expression:expression_test (shard 36 of 50); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,000 / 11,477] 247 / 375 tests; Testing //pkg/expression:expression_test (shard 36 of 50); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,003 / 11,528] 248 / 375 tests; Testing //pkg/expression:expression_test (shard 36 of 50); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,019 / 11,579] 248 / 375 tests; Testing //pkg/expression:expression_test (shard 36 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,026 / 11,606] 248 / 375 tests; Testing //pkg/expression:expression_test (shard 36 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [11,033 / 11,606] 248 / 375 tests; Testing //pkg/expression:expression_test (shard 36 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [11,036 / 11,608] 248 / 375 tests; Testing //pkg/expression:expression_test (shard 36 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,046 / 11,659] 249 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 23s remote-cache, linux-sandbox ... (70 actions running) [11,046 / 11,659] 249 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 24s remote-cache, linux-sandbox ... (70 actions running) [11,050 / 11,659] 249 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 25s remote-cache, linux-sandbox ... (68 actions, 67 running) [11,069 / 11,670] 249 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 27s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,079 / 11,676] 249 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,081 / 11,676] 250 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 29s remote-cache, linux-sandbox ... (70 actions running) [11,092 / 11,676] 251 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 30s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,096 / 11,676] 251 / 375 tests; Testing //br/pkg/backup:backup_test (shard 7 of 9); 31s remote-cache, linux-sandbox ... (70 actions running) [11,111 / 11,691] 251 / 375 tests; Testing //pkg/executor/importer:importer_test (shard 13 of 20); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,112 / 11,691] 252 / 375 tests; Testing //pkg/executor/importer:importer_test (shard 13 of 20); 33s remote-cache, linux-sandbox ... (70 actions running) [11,126 / 11,691] 254 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 19 of 48); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,132 / 11,693] 255 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 19 of 48); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,133 / 11,693] 255 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 19 of 48); 29s remote-cache, linux-sandbox ... (70 actions running) [11,134 / 11,693] 255 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 19 of 48); 31s remote-cache, linux-sandbox ... (70 actions running) [11,135 / 11,693] 255 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 19 of 48); 32s remote-cache, linux-sandbox ... (70 actions running) FLAKY: //pkg/ddl:ddl_test (Summary) /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_36_of_50/test_attempts/attempt_1.log INFO: From Testing //pkg/ddl:ddl_test (shard 36 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 36 of 50): === RUN TestDropColumns [2024/05/06 15:33:31.940 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:31.941 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:31.941 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:31.943 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:31.943 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:31.944 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:31.945 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=e24b7a2e-8178-4b7d-b851-fa718dbe5495] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:31.956 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:31.956 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:31.956 +08:00] [WARN] [domain.go:240] ["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:322\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/ddl_test.TestDropColumns\n\tpkg/ddl/column_test.go:844\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:31.960 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.378978ms] [2024/05/06 15:33:31.960 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:31.960 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=22c7ce09-5a49-44b1-98bb-68ca67328846] [runWorker=true] [2024/05/06 15:33:31.960 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:31.961 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:31.961 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:31.961 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:31.961 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:31.961 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:31.961 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:31.962 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:31.966 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:31.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:31.966 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:31.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:31.972 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:31.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:31.977 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.894872ms] [2024/05/06 15:33:31.978 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:31.980 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:31.980 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:31.981 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.947439ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:31.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:31.986 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:31.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:31.989 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:31.989 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:31.990 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:31.991 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:31.996 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:31.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:31.996 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:31.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:32.007 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:31.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.019 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=955.331µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:32.020 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.020 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:32.023 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=5.00053ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:31.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.029 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:31.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.036 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:32.036 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.037 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:32.044 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.044 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:32.055 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.059 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=289.426µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:32.060 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.060 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:32.061 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.71719ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.070 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.041 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.073 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:32.073 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.075 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:32.078 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.076 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.078 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.076 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:32.089 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.076 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.093 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=253.147µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:32.094 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.094 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:32.097 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=4.393492ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.076 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.103 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.076 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.108 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:32.108 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.109 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:32.114 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.111 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.114 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.111 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:32.124 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.111 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.135 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=678.992µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:32.137 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.137 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:32.138 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.56613ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.111 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.144 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.111 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.149 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:32.149 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.150 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:32.153 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.153 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:32.160 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.164 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=377.993µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:32.166 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.166 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:32.168 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.161803ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.178 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.182 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:32.182 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.183 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:32.186 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.186 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:32.196 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.200 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=303.911µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:32.201 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.201 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:32.202 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.395249ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.207 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.185 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.214 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:32.214 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.214 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:32.217 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.217 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:32.228 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.232 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=246.884µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:32.233 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.233 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:32.234 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.162145ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.239 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.242 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:32.242 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.242 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:32.245 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.245 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:32.252 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.257 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=256.089µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:32.258 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.258 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:32.258 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.324624ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.263 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.244 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.267 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:32.267 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.269 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:32.272 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.272 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:32.279 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.283 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=297.723µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:32.284 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.284 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:32.285 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.388578ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.291 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.27 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.294 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:32.294 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.295 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:32.298 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.298 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:32.305 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.309 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=307.753µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:32.310 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.310 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:32.312 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=3.859787ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.322 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.325 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:32.325 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.326 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:32.326 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:32.329 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.330 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:32.338 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.342 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=414.867µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:32.343 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.343 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:32.344 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.470009ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.351 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.328 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.356 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:32.356 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.357 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:32.360 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.360 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:32.367 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.372 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=432.692µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:32.374 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.374 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:32.376 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.394732ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.382 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.358 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.386 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:32.387 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.387 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:32.390 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.390 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:32.396 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.400 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=460.367µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:32.402 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.403 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:32.404 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.877518ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.409 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.389 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.412 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:32.413 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.414 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:32.417 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.417 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:32.426 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.431 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=289.886µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:32.432 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.432 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:32.433 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.153616ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.438 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.441 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:32.441 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.442 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:32.445 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.445 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:32.455 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.458 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=243.833µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:32.459 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.459 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:32.461 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.899551ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.470 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.474 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:32.474 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.475 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:32.478 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.478 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:32.483 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.487 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=286.396µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:32.488 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.488 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:32.489 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.603495ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.494 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.499 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:32.499 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.500 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:32.505 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.503 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.505 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.503 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:32.511 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.503 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.522 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=693.391µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:32.525 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.525 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:32.526 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=4.910738ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.503 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.532 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.503 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.536 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:32.536 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.536 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:32.540 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.538 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.540 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.538 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:32.549 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.538 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.553 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=401.939µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:32.554 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.555 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:32.555 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.092597ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.538 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.560 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.538 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.565 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:32.565 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.568 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:32.571 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.571 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:32.577 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.581 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=337.457µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:32.583 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.583 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:32.586 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=5.07505ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.591 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.569 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.594 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:32.594 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.595 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:32.598 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.597 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.598 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.597 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:32.612 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.597 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.614 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=219.989µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:32.616 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.616 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:32.616 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.078521ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.597 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.625 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.597 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.630 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:32.630 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.631 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:32.634 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.634 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:32.644 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.647 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=188.058µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:32.648 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.648 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:32.649 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.414619ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.656 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.632 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.659 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:32.659 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.659 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:32.662 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.662 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:32.672 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.676 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=347.478µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:32.677 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.677 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:32.677 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.02071ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.684 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.661 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.688 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:32.688 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.689 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:32.691 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.69 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.691 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.69 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:32.699 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.69 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.703 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=268.879µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:32.704 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.704 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:32.704 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.286269ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.69 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.709 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.69 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.713 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:32.713 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.713 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:32.716 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.716 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:32.724 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.727 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=275.165µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:32.728 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.728 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:32.731 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=4.424677ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.736 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.714 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.739 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:32.739 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.740 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:32.744 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.744 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:32.758 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.762 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=266.902µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:32.765 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.766 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:32.769 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=7.424955ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.775 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.742 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.779 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:32.779 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.780 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:32.783 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.783 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:32.795 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.798 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=232.44µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:32.800 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.800 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:32.800 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.034371ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.805 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.808 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:32.808 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.809 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:32.811 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.811 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:32.821 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.824 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=252.499µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:32.825 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.825 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:32.826 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.335052ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.834 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.81 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.837 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:32.838 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.838 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:32.841 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.841 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:32.849 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.851 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=226.347µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:32.853 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.853 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:32.854 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.996224ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.859 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.84 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.863 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:32.863 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.863 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:32.863 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:32.867 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.867 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:32.873 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.877 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=318.877µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:32.878 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.878 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:32.879 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.078474ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.888 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.893 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:32.893 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.893 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:32.898 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.898 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:32.914 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.920 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=366.782µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:32.921 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.921 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:32.921 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.069241ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.928 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.896 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.931 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:32.931 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.932 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:32.941 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.942 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:32.960 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.961 +08:00] [ERROR] [runaway.go:145] ["try to get new runaway watch"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:145\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:32.962 +08:00] [WARN] [runaway.go:172] ["get runaway watch record failed"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [2024/05/06 15:33:32.971 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=389.234µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:32.972 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:32.972 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:32.973 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.167558ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.986 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.94 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:32.991 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:32.991 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:32.992 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:32.995 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:32.995 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:33.001 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.013 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=433.822µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:33.014 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.014 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:33.014 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.011869ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.019 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:32.993 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.023 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:33.023 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.023 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:33.026 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.026 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:33.035 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.037 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=180.91µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:33.038 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.038 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:33.039 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.04793ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.044 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.047 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:33.047 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.050 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:33.049 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.050 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:33.049 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:33.059 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.049 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.063 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=281.966µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:33.064 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.064 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:33.067 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=4.253482ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:33.049 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.074 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.049 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.077 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:33.077 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.078 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:33.082 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.082 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:33.092 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.096 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=329.752µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:33.097 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.097 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:33.098 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.428827ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.109 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.113 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:33.113 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.113 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:33.116 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.116 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:33.128 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.133 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=275.156µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:33.134 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.134 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:33.135 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.433754ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.139 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.115 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.142 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:33.142 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.143 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:33.145 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.145 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:33.155 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.160 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=238.773µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:33.161 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.161 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:33.161 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.104583ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.171 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.144 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.175 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:33.175 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.176 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:33.180 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.180 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:33.189 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.195 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=463.962µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:33.196 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.196 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:33.196 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.034538ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.201 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.178 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.206 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:33.206 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.207 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:33.210 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.208 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.210 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.208 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:33.219 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.208 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.223 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=440.888µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:33.225 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.225 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:33.226 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.732965ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.208 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.235 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.208 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.240 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:33.240 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.241 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:33.246 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.246 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:33.266 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.270 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=526.137µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:33.272 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.272 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:33.272 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.127504ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.281 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.288 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:33.288 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.288 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:33.292 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.292 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:33.299 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.303 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=432.624µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:33.305 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.305 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:33.305 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.29861ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.310 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.29 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.314 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:33.314 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.315 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:33.318 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.318 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:33.324 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.328 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=375.401µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:33.329 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.330 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:33.334 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=5.94121ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.340 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.316 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.346 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:33.346 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.346 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:33.351 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.351 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:33.357 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.361 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=460.403µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:33.362 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.362 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:33.362 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.169601ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.372 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.376 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:33.376 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.376 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:33.394 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.394 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:33.401 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.413 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=517.658µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:33.414 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.414 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:33.414 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.00472ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.424 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.384 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.429 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:33.429 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.430 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:33.433 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.433 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:33.444 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.448 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=383.348µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:33.449 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.449 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:33.451 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.131197ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.456 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.432 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.462 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:33.462 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.462 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:33.465 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.465 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:33.472 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.476 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=381.382µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:33.478 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.479 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:33.484 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=8.92343ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.490 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.464 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.493 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:33.493 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.494 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:33.498 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.495 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.498 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.495 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:33.506 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.495 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.510 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=523.644µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:33.512 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.512 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:33.514 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=4.101062ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.495 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.522 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.495 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.526 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:33.526 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.527 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:33.530 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.530 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:33.541 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.545 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=348.001µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:33.546 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.546 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:33.548 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.977896ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.553 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.528 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.558 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:33.558 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.559 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:33.563 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.563 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:33.572 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.576 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=239.736µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:33.577 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:33.577 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:33.585 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.991534ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.592 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.562 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.600 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:33.601 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.635 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=1.674081251s] [2024/05/06 15:33:33.637 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=22c7ce09-5a49-44b1-98bb-68ca67328846] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:33.637 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:33.637 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.868µs] [2024/05/06 15:33:33.637 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.018µs] [2024/05/06 15:33:33.637 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=837ns] [2024/05/06 15:33:33.637 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.158µs] [2024/05/06 15:33:33.637 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:33.637 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.385µs] [2024/05/06 15:33:33.637 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:33.637 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:33.642 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=22c7ce09-5a49-44b1-98bb-68ca67328846] ["take time"=5.124613ms] [2024/05/06 15:33:33.642 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=22c7ce09-5a49-44b1-98bb-68ca67328846] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:33.642 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:33.642 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:33.642 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:33.642 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:33.642 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:33.642 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:33.642 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:33.642 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=5.478853ms] [2024/05/06 15:33:33.642 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=e24b7a2e-8178-4b7d-b851-fa718dbe5495] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:33.651 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:33.654 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:33.679 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=24.674269ms] [2024/05/06 15:33:33.681 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:33.681 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=7234e179-f082-4e44-818b-18614a78df12] [runWorker=true] [2024/05/06 15:33:33.682 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:33.682 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:33.682 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:33.682 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:33.682 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:33.682 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:33.682 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:33.682 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:33.683 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:33.683 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:33.683 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:33.683 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:33.683 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:33.683 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:33.689 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:33.689 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:33.689 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:33.693 +08:00] [INFO] [sysvar.go:2563] ["set resource control"] [enable=true] [2024/05/06 15:33:33.693 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:33.708 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:33.711 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:33.712 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:33.712 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:33.713 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:33.713 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:33.714 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:33.714 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:33.714 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:33.715 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=50] [cur_db=test] [sql="create table t1 (c1 int, c2 int, c3 int, c4 int);"] [user=] [2024/05/06 15:33:33.718 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:33.718 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:33.718 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t1 (c1 int, c2 int, c3 int, c4 int);"] [2024/05/06 15:33:33.732 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:33.732 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:33.740 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=103] [conn=1] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.747 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=220.284µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[3]"] [2024/05/06 15:33:33.748 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=103] [version=51] [2024/05/06 15:33:33.749 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.221155ms] [job="ID:103, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:33.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.755 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=103] [conn=1] [job="ID:103, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.717 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:33.761 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 15:33:33.761 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:33.821 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="alter table t1 drop column c3, drop column c4"] [user=] [2024/05/06 15:33:33.824 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:104, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:33.824 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:104, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table t1 drop column c3, drop column c4"] [2024/05/06 15:33:33.831 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.831 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 15:33:33.832 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.833 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:33.833 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.850 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.850 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 15:33:33.851 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.863 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:33.864 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.871 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.871 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.871 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.872 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.877 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=3.66263ms] [gotSchemaVersion=52] [phyTblIDs="[102]"] [actionTypes="[6]"] [2024/05/06 15:33:33.879 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=52] [2024/05/06 15:33:33.879 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=6.021907ms] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.880 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.885 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.885 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.886 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.888 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=193.461µs] [gotSchemaVersion=53] [phyTblIDs="[102]"] [actionTypes="[6]"] [2024/05/06 15:33:33.889 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=53] [2024/05/06 15:33:33.899 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=12.156944ms] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.901 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.908 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.908 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.909 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.911 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=201.188µs] [gotSchemaVersion=54] [phyTblIDs="[102]"] [actionTypes="[6]"] [2024/05/06 15:33:33.912 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=54] [2024/05/06 15:33:33.913 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.194842ms] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.914 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.920 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.920 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.921 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.923 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=204.018µs] [gotSchemaVersion=55] [phyTblIDs="[102]"] [actionTypes="[6]"] [2024/05/06 15:33:33.925 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=55] [2024/05/06 15:33:33.926 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=3.071647ms] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.927 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.931 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.931 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.933 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.936 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=201.29µs] [gotSchemaVersion=56] [phyTblIDs="[102]"] [actionTypes="[6]"] [2024/05/06 15:33:33.937 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=56] [2024/05/06 15:33:33.938 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.896476ms] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.941 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.944 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.944 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.944 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.947 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=200.859µs] [gotSchemaVersion=57] [phyTblIDs="[102]"] [actionTypes="[6]"] [2024/05/06 15:33:33.948 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=57] [2024/05/06 15:33:33.949 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.827227ms] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.952 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.956 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.956 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [category=ddl] [job="ID:104, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 15:33:33.957 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.959 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=162.047µs] [gotSchemaVersion=58] [phyTblIDs="[102]"] [actionTypes="[6]"] [2024/05/06 15:33:33.960 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=58] [2024/05/06 15:33:33.972 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=13.579013ms] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.975 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.981 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.986 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.987 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:33.988 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:33.995 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=104] [jobType="alter table multi-schema change"] [2024/05/06 15:33:33.996 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=104] [conn=1] [job="ID:104, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:34.002 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:33.823 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:34.008 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/06 15:33:34.011 +08:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [2024/05/06 15:33:34.014 +08:00] [INFO] [txn.go:55] ["Try to create a new txn inside a transaction auto commit"] [schemaVersion=58] [txnStartTS=449571930508886016] [txnScope=global] [2024/05/06 15:33:34.016 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test] [sql="drop table t1 "] [user=] [2024/05/06 15:33:34.025 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.025 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:105, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table t1 "] [2024/05/06 15:33:34.032 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:105, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.032 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.034 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:105, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.036 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=54.919µs] [gotSchemaVersion=59] [phyTblIDs="[102]"] [actionTypes="[4]"] [2024/05/06 15:33:34.037 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=59] [2024/05/06 15:33:34.038 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.729414ms] [job="ID:105, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.040 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:105, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.049 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:105, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.049 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.050 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:105, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.051 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=53.816µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:34.053 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=60] [2024/05/06 15:33:34.054 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.573786ms] [job="ID:105, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.055 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:105, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.061 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:105, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.061 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.062 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:105, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.064 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=61.732µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:34.065 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=61] [2024/05/06 15:33:34.066 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.236283ms] [job="ID:105, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.067 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:105, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.074 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=105] [elementID=1] [comment="table ID is 102"] [2024/05/06 15:33:34.075 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=105] [jobType="drop table"] [2024/05/06 15:33:34.075 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.081 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:105, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:34.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.082 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=105] [elementID=1] [startKey=748000000000000066] [endKey=748000000000000067] [2024/05/06 15:33:34.084 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 15:33:34.084 +08:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [2024/05/06 15:33:34.089 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7234e179-f082-4e44-818b-18614a78df12] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:34.089 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:34.089 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.686µs] [2024/05/06 15:33:34.089 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.205µs] [2024/05/06 15:33:34.089 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.023µs] [2024/05/06 15:33:34.089 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.041µs] [2024/05/06 15:33:34.089 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:34.089 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.114µs] [2024/05/06 15:33:34.089 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:34.089 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:34.091 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=7234e179-f082-4e44-818b-18614a78df12] ["take time"=2.922869ms] [2024/05/06 15:33:34.091 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=7234e179-f082-4e44-818b-18614a78df12] [2024/05/06 15:33:34.091 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:34.091 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:34.091 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:34.091 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:34.091 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:34.091 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:34.091 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:34.091 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:34.091 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:34.091 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:34.091 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7234e179-f082-4e44-818b-18614a78df12] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:34.092 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7234e179-f082-4e44-818b-18614a78df12] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:34.092 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:34.092 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:34.092 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=4.674451ms] [2024/05/06 15:33:34.093 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:34.093 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:34.093 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:34.093 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:34.093 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:34.093 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestDropColumns (2.17s) === RUN TestParallelAlterIndex [2024/05/06 15:33:34.098 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:34.098 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:34.098 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:34.098 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:34.098 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:34.099 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:34.101 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=cb2a574f-26dd-4e63-8515-7e775a6d1fe7] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:34.108 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:34.108 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:34.108 +08:00] [WARN] [domain.go:240] ["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:322\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/ddl_test.TestParallelAlterIndex\n\tpkg/ddl/db_change_test.go:922\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:34.112 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.639877ms] [2024/05/06 15:33:34.113 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:34.116 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=98e2b964-f365-4ac4-af1f-640030f73b48] [runWorker=true] [2024/05/06 15:33:34.116 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:34.116 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:34.117 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:34.117 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:34.117 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:34.117 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:34.118 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:34.118 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:34.121 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:34.12 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.121 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:34.12 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:34.167 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:34.167 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:34.174 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.12 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.183 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.863431ms] [2024/05/06 15:33:34.185 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:34.186 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.189 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:34.190 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=10.427829ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:34.12 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.197 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.12 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.212 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:34.212 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.212 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:34.213 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:34.219 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.219 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:34.224 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.234 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.129929ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:34.236 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.236 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:34.237 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.236669ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.246 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.216 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.257 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:34.261 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.261 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:34.266 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.266 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:34.286 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.290 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=270.777µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:34.291 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.291 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:34.292 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.072429ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.297 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.264 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.302 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:34.302 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.302 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:34.305 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.305 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:34.311 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.314 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=232.897µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:34.316 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.316 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:34.316 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.474703ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.323 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.304 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.327 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:34.327 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.328 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:34.332 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.332 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:34.339 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.346 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=572.588µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:34.347 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.347 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:34.349 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.157316ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.356 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.33 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.362 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:34.362 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.363 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:34.366 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.366 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:34.371 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.375 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=350.064µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:34.376 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.376 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:34.377 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=3.069579ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.385 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.364 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.389 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:34.389 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.389 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:34.392 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.391 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.392 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.391 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:34.413 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.391 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.418 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=353.405µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:34.419 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.419 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:34.423 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=5.667123ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.391 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.428 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.391 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.432 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:34.432 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.432 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:34.434 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.434 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:34.452 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.455 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=195.914µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:34.456 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.456 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:34.457 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.158155ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.463 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.466 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:34.466 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.467 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:34.469 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.468 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.469 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.468 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:34.480 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.468 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.484 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=266.282µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:34.485 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.485 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:34.487 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=3.074158ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.468 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.496 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.468 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.499 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:34.499 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.499 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:34.502 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.502 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:34.519 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.522 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=254.117µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:34.523 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.523 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:34.524 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.67197ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.532 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.537 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:34.537 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.537 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:34.544 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.542 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.544 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.542 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:34.554 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.542 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.558 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=317.9µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:34.559 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.559 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:34.559 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.027798ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.542 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.565 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.542 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.571 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:34.572 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.572 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:34.573 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:34.576 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.576 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:34.584 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.590 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=463.418µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:34.592 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.592 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:34.595 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=5.579923ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.603 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.574 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.612 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:34.613 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.613 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:34.616 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.616 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:34.622 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.627 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=363.286µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:34.628 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.628 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:34.629 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.498182ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.635 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.615 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.639 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:34.639 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.639 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:34.642 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.642 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:34.649 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.653 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=260.241µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:34.654 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.654 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:34.655 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.321021ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.663 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.641 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.667 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:34.667 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.667 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:34.669 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.669 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:34.681 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.687 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=324.746µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:34.688 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.688 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:34.688 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.014138ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.695 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.699 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:34.699 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.699 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:34.702 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.702 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:34.713 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.715 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=235.866µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:34.717 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.717 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:34.717 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.31821ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.727 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.731 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:34.731 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.733 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:34.736 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.736 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:34.744 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.749 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=304.333µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:34.751 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.751 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:34.753 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=4.463223ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.760 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.735 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.765 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:34.765 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.765 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:34.768 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.768 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:34.775 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.779 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=276.86µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:34.787 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.787 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:34.789 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=10.478448ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.822 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.767 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.826 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:34.826 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.827 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:34.834 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.834 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:34.848 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.857 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=454.91µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:34.858 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.858 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:34.860 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=3.594262ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.865 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.828 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.869 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:34.869 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.871 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:34.874 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.874 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:34.882 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.885 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=326.057µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:34.887 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.887 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:34.888 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.991442ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.893 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.872 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.896 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:34.896 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.897 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:34.900 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.900 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:34.910 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.913 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=235.706µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:34.914 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.914 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:34.914 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.061359ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.919 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.922 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:34.922 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.922 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:34.925 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.925 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:34.933 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.936 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=217.515µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:34.937 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.937 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:34.939 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=3.065097ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.944 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.924 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.947 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:34.947 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.948 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:34.951 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.951 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:34.959 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.963 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=361.865µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:34.964 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.964 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:34.965 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.515235ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.971 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.976 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:34.976 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:34.976 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:34.979 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:34.979 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:34.988 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:34.991 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=295.928µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:34.994 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:34.994 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:34.995 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=4.249082ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:34.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.000 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:34.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.003 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:35.003 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.004 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:35.011 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.011 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:35.017 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.021 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=328.977µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:35.023 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.023 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:35.026 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=4.916328ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.030 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.006 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.033 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:35.033 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.034 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:35.036 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.036 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:35.043 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.046 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=279.065µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:35.048 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.048 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:35.050 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=4.705553ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.056 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.035 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.060 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:35.060 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.061 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:35.064 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.064 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:35.070 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.079 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=302.925µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:35.081 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.081 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:35.082 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.663766ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.088 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.091 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:35.091 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.092 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:35.096 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.096 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:35.103 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.106 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=274.993µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:35.108 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.108 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:35.108 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.030004ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.113 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.116 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:35.116 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.117 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:35.118 +08:00] [ERROR] [runaway.go:145] ["try to get new runaway watch"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:145\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:35.118 +08:00] [WARN] [runaway.go:172] ["get runaway watch record failed"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [2024/05/06 15:33:35.120 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.120 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:35.128 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.131 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=249.667µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:35.132 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.132 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:35.133 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.023216ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.137 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.142 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:35.143 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.143 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:35.143 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:35.147 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.148 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:35.153 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.157 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=269.682µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:35.158 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.158 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:35.159 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=3.077566ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.163 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.145 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.167 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:35.167 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.167 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:35.169 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.168 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.169 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.168 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:35.174 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.168 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.178 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=326.724µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:35.179 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.179 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:35.180 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.031955ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.168 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.183 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.168 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.187 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:35.187 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.187 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:35.190 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.190 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:35.197 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.201 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=358.28µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:35.203 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.203 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:35.205 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.53283ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.212 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.216 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:35.216 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.217 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:35.223 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.223 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:35.232 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.236 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=426.714µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:35.237 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.237 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:35.238 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.13207ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.242 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.219 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.246 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:35.247 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.247 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:35.251 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.251 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:35.255 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.258 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=151.232µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:35.259 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.259 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:35.260 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.681454ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.266 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.249 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.269 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:35.269 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.276 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:35.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.276 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:35.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:35.281 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.285 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=312.883µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:35.287 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.287 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:35.287 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.082449ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:35.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.292 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.295 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:35.295 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.296 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:35.299 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.299 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:35.305 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.309 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=264.272µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:35.310 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.310 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:35.311 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.562461ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.316 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.297 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.321 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:35.321 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.321 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:35.324 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.324 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:35.333 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.336 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=238.25µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:35.337 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.338 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:35.339 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.574388ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.343 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.347 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:35.347 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.347 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:35.350 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.350 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:35.356 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.358 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=204.594µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:35.359 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.359 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:35.360 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.470677ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.365 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.349 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.368 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:35.368 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.368 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:35.372 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.372 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:35.378 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.383 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=489.407µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:35.385 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.385 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:35.387 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.596959ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.392 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.396 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:35.396 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.397 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:35.400 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.400 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:35.406 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.411 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=468.62µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:35.412 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.413 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:35.415 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.028521ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.419 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.398 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.424 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:35.424 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.424 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:35.428 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.428 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:35.433 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.439 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=554.086µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:35.440 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.440 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:35.442 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.362317ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.447 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.426 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.452 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:35.452 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.452 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:35.456 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.454 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.456 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.454 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:35.461 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.454 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.466 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=441.077µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:35.467 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.467 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:35.467 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.018888ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.454 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.476 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.454 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.480 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:35.480 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.481 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:35.484 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.484 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:35.490 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.494 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=367.54µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:35.495 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.495 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:35.497 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.871869ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.502 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.482 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.506 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:35.506 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.506 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:35.510 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.508 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.510 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.508 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:35.515 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.508 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.520 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=490.556µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:35.521 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.521 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:35.522 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.666803ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.508 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.529 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.508 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.533 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:35.534 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.534 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:35.538 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.538 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:35.551 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.555 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=459.16µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:35.557 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.557 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:35.561 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=5.868433ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.566 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.536 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.572 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:35.572 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.572 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:35.577 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.577 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:35.583 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.587 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=409.874µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:35.588 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.588 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:35.591 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.730801ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.596 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.575 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.600 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:35.600 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.600 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:35.603 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.603 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:35.610 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.613 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=360.571µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:35.614 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.614 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:35.615 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.813748ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.619 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.602 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.623 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:35.623 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.623 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:35.627 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.627 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:35.632 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.637 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=571.26µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:35.638 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.639 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:35.639 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.063934ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.643 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.647 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:35.647 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.647 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:35.649 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.650 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:35.655 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.658 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=289.274µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:35.659 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.659 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:35.660 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.339655ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.664 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.648 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.669 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:35.669 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.670 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:35.672 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.671 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.672 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.671 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:35.678 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.671 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.681 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=279.953µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:35.682 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.682 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:35.683 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.833845ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.671 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.687 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.671 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.690 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:35.690 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.718 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=1.60093086s] [2024/05/06 15:33:35.721 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=98e2b964-f365-4ac4-af1f-640030f73b48] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:35.721 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:35.721 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=1.603µs] [2024/05/06 15:33:35.721 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.467µs] [2024/05/06 15:33:35.721 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=1.292µs] [2024/05/06 15:33:35.721 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=999ns] [2024/05/06 15:33:35.721 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:35.721 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=1.117µs] [2024/05/06 15:33:35.721 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:35.721 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:35.726 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=98e2b964-f365-4ac4-af1f-640030f73b48] ["take time"=6.873487ms] [2024/05/06 15:33:35.726 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=98e2b964-f365-4ac4-af1f-640030f73b48] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:35.726 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:35.726 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:35.726 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:35.726 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:35.726 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:35.726 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:35.726 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:35.726 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=7.217937ms] [2024/05/06 15:33:35.726 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=cb2a574f-26dd-4e63-8515-7e775a6d1fe7] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:35.732 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:35.732 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:35.744 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=11.986992ms] [2024/05/06 15:33:35.744 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:35.744 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=5821f6fd-3fbe-4e13-90b0-1adf37662a9c] [runWorker=true] [2024/05/06 15:33:35.745 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:35.745 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:35.745 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:35.745 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:35.745 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:35.745 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:35.745 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:35.746 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:35.747 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:35.747 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:35.747 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:35.759 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:35.761 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:35.762 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:35.763 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:35.763 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:35.764 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:35.764 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:35.767 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:35.767 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:35.768 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=50] [cur_db=] [sql="create database test_db_state default charset utf8 default collate utf8_bin"] [user=] [2024/05/06 15:33:35.771 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:35.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.771 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:35.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create database test_db_state default charset utf8 default collate utf8_bin"] [2024/05/06 15:33:35.775 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:35.777 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=103] [conn=5] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.780 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=55.154µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:35.782 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=103] [version=51] [2024/05/06 15:33:35.782 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.058084ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:35.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.787 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=103] [conn=5] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.769 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.789 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 15:33:35.789 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.790 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=51] [cur_db=test_db_state] [sql="create table t(a int, b int, c double default null, d int auto_increment,e int, index idx1(d), index idx2(d,e))"] [user=] [2024/05/06 15:33:35.794 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.794 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t(a int, b int, c double default null, d int auto_increment,e int, index idx1(d), index idx2(d,e))"] [2024/05/06 15:33:35.799 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=5] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.803 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=290.264µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [2024/05/06 15:33:35.804 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=52] [2024/05/06 15:33:35.804 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.026863ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.809 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=5] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.792 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.812 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 15:33:35.812 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.813 +08:00] [WARN] [2pc.go:1803] ["schemaLeaseChecker is not set for this transaction"] [sessionID=5] [startTS=449571930980483073] [checkTS=449571930980483075] [2024/05/06 15:33:35.814 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=52] [cur_db=test_db_state] [sql="drop table if exists t_part"] [user=] [2024/05/06 15:33:35.814 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=52] [cur_db=test_db_state] [sql="create table t_part (a int key)\n\t \tpartition by range(a) (\n\t \tpartition p0 values less than (10),\n\t \tpartition p1 values less than (20)\n\t \t);"] [user=] [2024/05/06 15:33:35.817 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:102, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.817 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:102, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t_part (a int key)\n\t \tpartition by range(a) (\n\t \tpartition p0 values less than (10),\n\t \tpartition p1 values less than (20)\n\t \t);"] [2024/05/06 15:33:35.823 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=109] [conn=5] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:102, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.826 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=594.659µs] [gotSchemaVersion=53] [phyTblIDs="[106,107,108]"] [actionTypes="[3,3,3]"] [2024/05/06 15:33:35.827 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=109] [version=53] [2024/05/06 15:33:35.829 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=4.236579ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:102, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.834 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=109] [conn=5] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:102, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.816 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.837 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 15:33:35.837 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.839 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=53] [cur_db=test_db_state] [sql="alter table t alter index idx1 invisible;"] [user=] [2024/05/06 15:33:35.842 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.842 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:110, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t alter index idx1 invisible;"] [2024/05/06 15:33:35.847 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:110, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.848 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=53] [cur_db=test_db_state] [sql="alter table t alter index idx1 invisible;"] [user=] [2024/05/06 15:33:35.850 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.850 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:111, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t alter index idx1 invisible;"] [2024/05/06 15:33:35.856 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.857 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:110, Type:alter index visibility, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.859 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=257.007µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[41]"] [2024/05/06 15:33:35.860 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=110] [version=54] [2024/05/06 15:33:35.862 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.92605ms] [job="ID:110, Type:alter index visibility, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.862 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:110, Type:alter index visibility, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.866 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=6] [job="ID:110, Type:alter index visibility, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.869 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:110, Type:alter index visibility, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.841 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.869 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 15:33:35.869 +08:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [2024/05/06 15:33:35.873 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:111, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.873 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=7] [category=ddl] [job="ID:111, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.873 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:111, Type:alter index visibility, State:done, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.874 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:35.875 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:111, Type:alter index visibility, State:done, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.877 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=7] [job="ID:111, Type:alter index visibility, State:synced, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.880 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:111, Type:alter index visibility, State:synced, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.849 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.880 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/06 15:33:35.880 +08:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [2024/05/06 15:33:35.881 +08:00] [INFO] [region_request.go:1531] ["send request failed, err: context canceled"] [req-ts=449571930998046720] [req-type=Cop] [region="{ region id: 2, ver: 1, confVer: 1 }"] [replica-read-type=leader] [stale-read=false] [request-sender="{rpcError:context canceled,replicaSelector: replicaSelector{selectorStateStr: accessKnownLeader, cacheRegionIsValid: true, replicaStatus: [peer: 3, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable]}}"] [retry-times=0] [total-backoff-ms=0] [total-backoff-times=0] [max-exec-timeout-ms=60000] [total-region-errors=] [2024/05/06 15:33:35.881 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=54] [cur_db=test_db_state] [sql="drop table t"] [user=] [2024/05/06 15:33:35.883 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:drop table, State:queueing, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.883 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:112, Type:drop table, State:queueing, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table t"] [2024/05/06 15:33:35.888 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=5] [category=ddl] [job="ID:112, Type:drop table, State:queueing, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.890 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=58.738µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[4]"] [2024/05/06 15:33:35.891 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=112] [version=55] [2024/05/06 15:33:35.893 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.417798ms] [job="ID:112, Type:drop table, State:running, SchemaState:write only, SchemaID:102, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.897 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=5] [category=ddl] [job="ID:112, Type:drop table, State:running, SchemaState:write only, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.899 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=56.383µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:35.900 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=112] [version=56] [2024/05/06 15:33:35.901 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.384619ms] [job="ID:112, Type:drop table, State:running, SchemaState:delete only, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.905 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=5] [category=ddl] [job="ID:112, Type:drop table, State:running, SchemaState:delete only, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.909 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=57.555µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:35.910 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=112] [version=57] [2024/05/06 15:33:35.912 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.874965ms] [job="ID:112, Type:drop table, State:done, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.917 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=112] [elementID=1] [comment="table ID is 104"] [2024/05/06 15:33:35.918 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=112] [jobType="drop table"] [2024/05/06 15:33:35.919 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=5] [job="ID:112, Type:drop table, State:synced, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:35.882 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.923 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=112] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/06 15:33:35.924 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/06 15:33:35.924 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:35.926 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5821f6fd-3fbe-4e13-90b0-1adf37662a9c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:35.926 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:35.926 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.65µs] [2024/05/06 15:33:35.926 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=1.612µs] [2024/05/06 15:33:35.926 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=1.801µs] [2024/05/06 15:33:35.926 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=1.098µs] [2024/05/06 15:33:35.926 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:35.926 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=1.202µs] [2024/05/06 15:33:35.926 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:35.926 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:35.927 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=5821f6fd-3fbe-4e13-90b0-1adf37662a9c] ["take time"=2.656024ms] [2024/05/06 15:33:35.927 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=5821f6fd-3fbe-4e13-90b0-1adf37662a9c] [2024/05/06 15:33:35.927 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:35.927 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:35.927 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:35.927 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:35.927 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:35.927 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:35.927 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:35.927 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:35.927 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:35.927 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:35.927 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5821f6fd-3fbe-4e13-90b0-1adf37662a9c] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:35.928 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:35.928 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5821f6fd-3fbe-4e13-90b0-1adf37662a9c] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:35.928 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:35.928 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:35.928 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:35.929 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=4.263271ms] [2024/05/06 15:33:35.929 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:35.929 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:35.929 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:35.929 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:35.929 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:35.929 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestParallelAlterIndex (1.84s) === RUN TestIndexOnMultipleGeneratedColumn [2024/05/06 15:33:35.963 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:35.963 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:35.963 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:35.964 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:35.964 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:35.964 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:35.966 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=6438317b-acb5-4029-bda5-4ca75961e1d6] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:35.974 +08:00] [WARN] [runaway.go:397] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 15:33:35.975 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:35.979 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.511068ms] [2024/05/06 15:33:35.979 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:35.979 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=c5da84a3-6ae7-4cc7-9126-ea833fec0e7c] [runWorker=true] [2024/05/06 15:33:35.980 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:35.980 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:35.980 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:35.980 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:35.980 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:35.980 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:35.980 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:35.980 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:35.980 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:35.981 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:35.981 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:35.981 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:35.981 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:35.981 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:35.981 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayRecordFlushLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:35.981 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:35.981 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:35.984 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:35.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:35.984 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:35.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:35.989 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.991 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:35.994 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.264181ms] [2024/05/06 15:33:35.994 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:35.996 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:35.996 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:35.997 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.590179ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:35.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:35.998 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:36.002 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:35.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.005 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:36.005 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.005 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:36.005 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchemaWithInfo\n\tpkg/ddl/ddl_api.go:222\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchema\n\tpkg/ddl/ddl_api.go:172\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateSchema\n\tpkg/ddl/schematracker/checker.go:171\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateDatabase\n\tpkg/executor/ddl.go:255\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:153\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2930\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:36.006 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:36.007 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:36.011 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.011 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:36.017 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.024 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:36.025 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=806.394µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:36.026 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.026 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:36.028 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.250087ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.029 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:36.034 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.008 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.038 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:36.040 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:36.040 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.040 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2934\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:36.040 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.040 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:36.043 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.043 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:36.048 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.050 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:36.050 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=205.371µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:36.051 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.051 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:36.052 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.288049ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.053 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:36.057 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.042 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.060 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:36.060 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:36.060 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.060 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2936\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:36.061 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.061 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:36.063 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.063 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:36.070 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.073 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:36.073 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=239.224µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:36.074 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.074 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:36.075 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.41608ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.076 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:36.080 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.083 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:36.083 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:36.083 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.083 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2938\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:36.084 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:36.087 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.087 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:36.095 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.100 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:36.100 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=579.047µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:36.102 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.102 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:36.105 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.989722ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.106 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:36.110 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.114 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:36.116 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:36.116 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.117 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2939\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:36.118 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:36.121 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.121 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:36.126 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.129 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:36.130 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=347.29µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:36.131 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.131 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:36.131 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.023718ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.132 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:36.139 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.119 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.143 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:36.144 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:36.144 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.145 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2940\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:36.145 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:36.149 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.149 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:36.156 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.159 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:36.159 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=340.728µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:36.160 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.160 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:36.162 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=3.032518ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.164 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:36.168 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.147 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.172 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:36.174 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:36.174 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.174 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2941\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:36.175 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:36.177 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.177 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:36.183 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.185 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:36.185 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=187.316µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:36.187 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.187 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:36.187 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.147807ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.188 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:36.192 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.195 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:36.195 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:36.195 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.196 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2943\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:36.196 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:36.199 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.199 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:36.204 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.206 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:36.207 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=204.55µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:36.209 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.209 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:36.211 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=4.283205ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.214 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:36.218 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.198 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.220 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:36.221 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:36.221 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.221 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2945\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:36.221 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:36.224 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.222 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.224 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.222 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:36.231 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:36.231 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.222 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.234 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:36.234 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=223.577µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:36.235 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.235 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:36.236 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.427642ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.222 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.237 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:36.241 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.222 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.244 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:36.245 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:36.245 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.245 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2947\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:36.245 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.245 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.245 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.246 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:36.249 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.249 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:36.254 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.257 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:36.257 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=284.616µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:36.259 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.259 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:36.262 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.867058ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.262 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:36.267 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.247 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.270 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:36.271 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:36.271 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.271 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2949\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:36.272 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:36.272 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:36.275 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.275 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:36.282 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.286 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:36.286 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=411.019µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:36.288 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.288 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:36.288 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.470308ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.289 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:36.293 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.296 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:36.297 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:36.297 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.297 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2951\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:36.297 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:36.300 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.300 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:36.307 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.310 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:36.311 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=336.024µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:36.312 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.312 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:36.313 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.622088ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.314 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:36.318 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.299 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.321 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:36.322 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:36.322 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.322 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2953\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:36.322 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:36.324 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.324 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:36.330 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.333 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:36.333 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=286.604µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:36.335 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.335 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:36.337 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.547725ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.338 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:36.342 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.323 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.344 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:36.344 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:36.344 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.344 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2955\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:36.345 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:36.347 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.347 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:36.353 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.356 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:36.356 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=251.117µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:36.357 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.357 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:36.358 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.357374ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.359 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:36.363 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.366 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:36.366 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:36.366 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.366 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2957\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:36.367 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:36.369 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.368 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.369 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.368 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:36.375 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.368 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.377 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:36.378 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=236.069µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:36.379 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.379 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:36.380 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.915787ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.368 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.381 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:36.387 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.368 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.390 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:36.390 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.390 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:36.390 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2960\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:36.391 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:36.393 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.393 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:36.398 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.401 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:36.401 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=196.574µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:36.402 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.402 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:36.404 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=3.007678ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.405 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:36.408 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.392 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.411 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:36.411 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:36.411 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.411 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2962\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:36.412 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:36.414 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.413 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.414 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.413 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:36.420 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.413 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.422 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:36.422 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=232.139µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:36.423 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.423 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:36.424 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.274887ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.413 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.425 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:36.429 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.413 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.431 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:36.431 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:36.431 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.431 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2964\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:36.432 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:36.435 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.435 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:36.440 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.443 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:36.443 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=265.012µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:36.444 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.444 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:36.446 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.623502ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.447 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:36.450 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.453 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:36.453 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:36.454 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.454 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.initBindInfoTable\n\tpkg/session/bootstrap.go:1961\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2966\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:36.454 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.454 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.454 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.454 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.454 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.454 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.455 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:36.458 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.458 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:36.463 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.465 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:36.466 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=214.155µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:36.466 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.467 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:36.468 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.363003ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.469 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:36.472 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.474 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:36.474 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:36.474 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.475 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2968\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:36.475 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:36.477 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.477 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:36.481 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:36.487 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.489 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:36.489 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=191.798µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:36.490 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.490 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:36.491 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.150431ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.492 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:36.495 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.497 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:36.498 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:36.498 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.498 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2970\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:36.498 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:36.501 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.501 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:36.507 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.509 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:36.510 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=184.753µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:36.511 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.511 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:36.512 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=3.040643ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.513 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:36.517 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.5 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.519 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:36.519 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:36.520 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.520 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2972\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:36.520 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:36.523 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.524 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:36.529 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.532 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:36.532 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=353.264µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:36.534 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.534 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:36.535 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.846361ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.535 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:36.539 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.522 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.542 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:36.542 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:36.542 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.543 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2974\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:36.543 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:36.545 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.545 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:36.551 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.553 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:36.554 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=244.006µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:36.555 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.555 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:36.556 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.640564ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.557 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:36.560 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.544 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.562 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:36.563 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:36.563 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.563 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2976\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:36.563 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:36.566 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.566 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:36.571 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.574 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:36.574 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=261.435µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:36.575 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.575 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:36.576 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.637094ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.577 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:36.580 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.583 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:36.583 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:36.583 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.583 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2978\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:36.583 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:36.586 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.586 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:36.592 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.594 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:36.595 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=204.429µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:36.596 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.596 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:36.597 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.58301ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.598 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:36.601 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.604 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:36.604 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:36.604 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.604 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2980\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:36.605 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:36.607 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.607 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:36.612 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.615 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:36.615 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=236.083µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:36.616 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.616 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:36.617 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.618535ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.618 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:36.621 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.606 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.623 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:36.624 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:36.624 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.624 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2982\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:36.624 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:36.626 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.626 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:36.631 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.634 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:36.634 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=236.257µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:36.635 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.635 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:36.636 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.726667ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.637 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:36.640 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.625 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.642 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:36.642 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:36.642 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.643 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2984\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:36.643 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:36.645 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.644 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.645 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.644 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:36.650 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.644 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.652 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:36.652 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=175.65µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:36.653 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.653 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:36.655 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.609764ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.644 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.656 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:36.658 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.644 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.660 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:36.660 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:36.660 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.661 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2986\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:36.661 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:36.661 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:36.664 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.664 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:36.669 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.672 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:36.672 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=303.017µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:36.673 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.673 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:36.674 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.554882ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.675 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:36.678 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.663 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.680 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:36.680 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:36.680 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.680 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2988\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:36.681 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:36.683 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.683 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:36.688 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.691 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:36.691 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=371.673µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:36.692 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.692 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:36.693 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.120294ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.693 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:36.696 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.682 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.698 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:36.699 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:36.699 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.699 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2990\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:36.699 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:36.701 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.701 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:36.706 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.709 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:36.709 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=320.335µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:36.710 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.711 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:36.711 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.150765ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.712 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:36.715 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.7 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.718 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:36.718 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:36.718 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.718 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2992\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:36.719 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:36.722 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.722 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:36.727 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.730 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:36.731 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=421.97µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:36.732 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.732 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:36.732 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:36.732 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.01742ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.733 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:36.738 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.741 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:36.742 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:36.742 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.742 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2994\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:36.742 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.742 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.742 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:36.745 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.743 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.745 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.743 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:36.750 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.743 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.752 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:36.752 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=169.071µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:36.753 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.753 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:36.754 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.067418ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.743 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.755 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:36.757 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.743 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.760 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:36.760 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.760 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:36.760 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2996\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:36.763 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:36.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.763 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:36.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:36.768 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.771 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:36.771 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=265.42µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:36.772 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.772 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:36.773 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.396023ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:36.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.774 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:36.777 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.762 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.779 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:36.780 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:36.780 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.780 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateView\n\tpkg/ddl/ddl_api.go:3046\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateView\n\tpkg/ddl/schematracker/checker.go:247\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateView\n\tpkg/executor/ddl.go:309\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:159\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2998\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:36.781 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:36.783 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.783 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:36.788 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.790 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:36.791 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=278.73µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:36.792 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.792 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:36.793 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.554489ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.793 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:36.796 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.782 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.799 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:36.799 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:36.799 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.799 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3000\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:36.799 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.800 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.800 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:36.802 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.801 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.802 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.801 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:36.807 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.801 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.809 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:36.810 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=265.749µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:36.811 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.811 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:36.812 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.49398ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.801 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.813 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:36.816 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.801 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.818 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:36.819 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:36.819 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.819 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3002\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:36.819 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:36.822 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.821 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.822 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.821 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:36.827 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.821 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.829 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:36.830 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=215.971µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:36.831 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.831 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:36.831 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.21405ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.821 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.832 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:36.837 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.821 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.839 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:36.839 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:36.839 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.840 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3004\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:36.840 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:36.843 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.843 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:36.849 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.852 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:36.852 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=337.606µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:36.853 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.854 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:36.855 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.974494ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.856 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:36.859 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.842 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.862 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:36.862 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:36.862 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.862 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3006\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:36.862 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.862 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.862 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.863 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:36.866 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.866 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:36.871 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.873 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:36.874 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=326.667µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:36.875 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.875 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:36.876 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=3.007508ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.877 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:36.880 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.864 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.883 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:36.883 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:36.883 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.883 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3008\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:36.884 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.884 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:36.887 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.887 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:36.891 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.895 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:36.895 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=428.334µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:36.896 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.896 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:36.897 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.226858ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.897 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:36.900 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.903 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:36.904 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:36.904 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.904 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3010\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:36.904 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.904 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:36.907 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.905 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.907 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.905 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:36.912 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.905 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.915 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:36.916 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=322.117µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:36.917 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.917 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:36.918 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.198571ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.905 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.918 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:36.921 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.905 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.924 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:36.924 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:36.924 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.924 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3012\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:36.925 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:36.928 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.928 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:36.932 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.935 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:36.935 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=377.821µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:36.936 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.936 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:36.937 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.295955ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.937 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:36.940 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.926 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.943 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:36.943 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:36.943 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.943 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3014\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:36.944 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:36.946 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.946 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:36.950 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.954 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:36.954 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=341.247µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:36.955 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.955 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:36.956 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.523746ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.957 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:36.961 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.945 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.965 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:36.965 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:36.965 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.965 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3016\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:36.966 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.966 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.966 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.966 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.966 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:36.970 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.970 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:36.975 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.979 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:36.979 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=411.3µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:36.980 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:36.980 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:36.981 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.080481ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.981 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayWatchSyncLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:36.981 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:36.981 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:36.982 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:36.988 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.968 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:36.991 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:36.992 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:36.992 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:36.992 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3018\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:36.992 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.992 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.992 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:36.993 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:36.996 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:36.996 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:37.001 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.004 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:37.005 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=308.481µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:37.006 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.006 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:37.007 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.449698ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:36.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.007 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:37.011 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:36.994 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.014 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:37.014 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:37.014 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.014 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3020\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:37.014 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.015 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:37.017 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.016 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.017 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.016 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:37.022 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.016 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.025 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:37.026 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=319.424µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:37.027 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.027 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:37.028 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=3.072379ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.016 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.029 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:37.032 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.016 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.035 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:37.035 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:37.035 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.035 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3022\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:37.035 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.035 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.036 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:37.039 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.039 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:37.044 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.048 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:37.048 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=517.848µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:37.049 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.049 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:37.050 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.745532ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.051 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:37.055 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.037 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.058 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:37.058 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:37.058 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.059 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3024\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:37.059 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:37.061 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.061 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:37.066 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.069 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:37.070 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=341.63µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:37.071 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.071 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:37.072 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.534314ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.073 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:37.076 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.06 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.079 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:37.079 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:37.079 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.079 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3026\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:37.079 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.080 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:37.082 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.082 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:37.087 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.090 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:37.090 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=186.859µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:37.091 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.091 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:37.092 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.098188ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.092 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:37.095 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.097 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:37.098 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:37.098 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.098 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3028\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:37.125 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=1.14479904s] [2024/05/06 15:33:37.126 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=c5da84a3-6ae7-4cc7-9126-ea833fec0e7c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:37.126 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:37.126 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=1.351µs] [2024/05/06 15:33:37.126 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=783ns] [2024/05/06 15:33:37.126 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=856ns] [2024/05/06 15:33:37.126 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=982ns] [2024/05/06 15:33:37.126 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:37.126 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=1.028µs] [2024/05/06 15:33:37.126 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:37.126 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:37.131 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=c5da84a3-6ae7-4cc7-9126-ea833fec0e7c] ["take time"=5.087371ms] [2024/05/06 15:33:37.131 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=c5da84a3-6ae7-4cc7-9126-ea833fec0e7c] [2024/05/06 15:33:37.131 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:37.131 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:37.131 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:37.131 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:37.131 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:37.131 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:37.131 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:37.131 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:37.131 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:37.131 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:37.131 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:37.131 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=5.305586ms] [2024/05/06 15:33:37.131 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=6438317b-acb5-4029-bda5-4ca75961e1d6] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:37.137 +08:00] [WARN] [runaway.go:397] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 15:33:37.138 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.createSessionsImpl\n\tpkg/session/session.go:3561\ngithub.com/pingcap/tidb/pkg/session.createSessions\n\tpkg/session/session.go:3548\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3323\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:37.148 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=10.699585ms] [2024/05/06 15:33:37.149 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:37.149 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=f0c9771f-8d3d-434c-a195-05637936def9] [runWorker=true] [2024/05/06 15:33:37.149 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:37.149 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:37.149 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:37.149 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:37.149 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:37.149 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayRecordFlushLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:37.149 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:37.149 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:37.151 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:37.151 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:37.152 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:37.161 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:37.164 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:37.165 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:37.165 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:37.166 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:37.167 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:37.167 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:37.167 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:37.167 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:37.168 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=50] [cur_db=] [sql="create database if not exists test"] [user=] [2024/05/06 15:33:37.168 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=50] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/06 15:33:37.169 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=50] [cur_db=test] [sql="create table t (a int, b int as (a + 1), c int as (b + 1))"] [user=] [2024/05/06 15:33:37.169 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:37.171 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.171 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (a int, b int as (a + 1), c int as (b + 1))"] [2024/05/06 15:33:37.177 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=103] [conn=12] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.179 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:37.180 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=389.068µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[3]"] [2024/05/06 15:33:37.181 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=103] [version=51] [2024/05/06 15:33:37.182 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=3.030408ms] [job="ID:103, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.183 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:37.186 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=103] [conn=12] [job="ID:103, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.17 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.188 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 15:33:37.189 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.189 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:37.189 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:37.190 +08:00] [WARN] [2pc.go:1803] ["schemaLeaseChecker is not set for this transaction"] [sessionID=12] [startTS=449571931341455362] [checkTS=449571931341455363] [2024/05/06 15:33:37.190 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="create index idx on t (c)"] [user=] [2024/05/06 15:33:37.193 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:104, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:37.193 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:104, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="create index idx on t (c)"] [2024/05/06 15:33:37.199 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 30, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.200 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 15:33:37.200 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:37.202 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:37.202 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=292.858µs] [gotSchemaVersion=52] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:37.203 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=52] [2024/05/06 15:33:37.204 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.103151ms] [job="ID:104, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.204 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:37.209 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 28, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.211 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=53] [2024/05/06 15:33:37.212 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=315.94µs] [gotSchemaVersion=53] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:37.213 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=53] [2024/05/06 15:33:37.213 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.218334ms] [job="ID:104, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.214 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=53] [2024/05/06 15:33:37.218 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 29, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.221 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:37.221 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=260.888µs] [gotSchemaVersion=54] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:37.222 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=54] [2024/05/06 15:33:37.223 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.598867ms] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.224 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:37.228 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 30, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.229 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=104] [table=t] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:37.229 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=104] [physicalTableID=102] [startKey=7480000000000000665f728000000000000001] [endKey=7480000000000000665f72800000000000000100] [2024/05/06 15:33:37.232 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:37.233 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:37.238 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 27, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931351678976, UniqueWarnings:0"] [2024/05/06 15:33:37.239 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=104] [table=t] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:37.240 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931351678976, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000665f728000000000000001,EndKey:7480000000000000665f72800000000000000100,First:false,PhysicalTableID:102,Ingest mode:false"] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=102] ["start key"=7480000000000000665f728000000000000001] ["end key"=7480000000000000665f72800000000000000100] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000665f728000000000000001] [endKey=7480000000000000665f72800000000000000100] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=102] ["end key"=7480000000000000665f72800000000000000100] ["current end key"=7480000000000000665f72800000000000000100] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:37.241 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:37.242 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp add index"] [task="taskID: 1, physicalTableID: 102, range: [7480000000000000665f728000000000000001, 7480000000000000665f72800000000000000100), jobID: 104"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000665f72800000000000000100] ["take time"=298.416µs] [2024/05/06 15:33:37.242 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:37.244 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000665f728000000000000001] [2024/05/06 15:33:37.244 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:37.299 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:37.299 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=269µs] [gotSchemaVersion=55] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:37.300 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=55] [2024/05/06 15:33:37.301 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.121885ms] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931351678976, UniqueWarnings:0"] [2024/05/06 15:33:37.302 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:37.309 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 30, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931351678976, UniqueWarnings:0"] [2024/05/06 15:33:37.310 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=104] [table=t] [index=idx] [2024/05/06 15:33:37.312 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:37.312 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=265.846µs] [gotSchemaVersion=56] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:37.313 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=56] [2024/05/06 15:33:37.315 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.997134ms] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.315 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:37.320 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 28, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:37.321 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=104] [physicalTableID=102] [startKey=7480000000000000665f69ffff000000000001] [endKey=7480000000000000665f69ffff000000000001ff] [2024/05/06 15:33:37.324 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:37.324 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:37.329 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 27, tp add index"] [category=ddl] [jobID=104] [conn=12] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931375796224, UniqueWarnings:0"] [2024/05/06 15:33:37.331 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931375796224, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000665f69ffff000000000001,EndKey:7480000000000000665f69ffff000000000001ff,First:false,PhysicalTableID:102,Ingest mode:false"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=102] ["start key"=7480000000000000665f69ffff000000000001] ["end key"=7480000000000000665f69ffff000000000001ff] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000665f69ffff000000000001] [endKey=7480000000000000665f69ffff000000000001ff] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=102] ["end key"=7480000000000000665f69ffff000000000001ff] ["current end key"=7480000000000000665f69ffff00000000000100] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 102, range: [7480000000000000665f69ffff000000000001, 7480000000000000665f69ffff00000000000100), jobID: 104"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000665f69ffff0000000000010000] ["take time"=104.211µs] [2024/05/06 15:33:37.332 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:37.335 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000665f69ffff000000000001] [2024/05/06 15:33:37.335 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:37.383 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:37.385 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:37.386 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=335.967µs] [gotSchemaVersion=57] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:37.387 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=57] [2024/05/06 15:33:37.387 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.116414ms] [job="ID:104, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931375796224, UniqueWarnings:0"] [2024/05/06 15:33:37.388 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:37.393 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=104] [elementID=1] [comment="physical ID is 102"] [2024/05/06 15:33:37.394 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=104] [jobType="add index"] [2024/05/06 15:33:37.394 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 30, tp add index"] [category=ddl] [jobID=104] [conn=12] [job="ID:104, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:37.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571931375796224, UniqueWarnings:0"] [2024/05/06 15:33:37.398 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=104] [elementID=1] [startKey=7480000000000000665f69ffff000000000001] [endKey=7480000000000000665f69ffff000000000002] [2024/05/06 15:33:37.398 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:37.399 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:37.401 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/06 15:33:37.401 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.401 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7240\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateIndex\n\tpkg/ddl/schematracker/checker.go:302\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:317\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:151\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIndexOnMultipleGeneratedColumn\n\tpkg/ddl/db_integration_test.go:652\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:37.406 +08:00] [INFO] [executor.go:2464] ["fast check table by group"] ["table name"=t] ["index name"=idx] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `b` + 1)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `b` + 1)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2024/05/06 15:33:37.413 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f0c9771f-8d3d-434c-a195-05637936def9] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:37.413 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:37.413 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=2.123µs] [2024/05/06 15:33:37.413 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=1.583µs] [2024/05/06 15:33:37.413 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=1.804µs] [2024/05/06 15:33:37.413 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=1.572µs] [2024/05/06 15:33:37.413 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:37.413 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=1.295µs] [2024/05/06 15:33:37.413 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:37.413 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:37.414 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=f0c9771f-8d3d-434c-a195-05637936def9] ["take time"=1.89315ms] [2024/05/06 15:33:37.414 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=f0c9771f-8d3d-434c-a195-05637936def9] [2024/05/06 15:33:37.414 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:37.415 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:37.415 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:37.415 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f0c9771f-8d3d-434c-a195-05637936def9] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:37.415 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f0c9771f-8d3d-434c-a195-05637936def9] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:37.415 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:37.415 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:37.415 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:37.416 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:37.416 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:37.416 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=3.357434ms] [2024/05/06 15:33:37.416 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:37.416 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:37.417 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:37.417 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:37.417 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:37.417 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestIndexOnMultipleGeneratedColumn (1.49s) === RUN TestAlterTableRenameTable [2024/05/06 15:33:37.420 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:37.421 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.421 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.421 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.421 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.422 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.423 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=b6422363-adb0-48ab-84fa-477ec0a1cc05] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:37.429 +08:00] [WARN] [runaway.go:397] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 15:33:37.430 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:37.438 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=8.677815ms] [2024/05/06 15:33:37.439 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:37.439 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=8ad688aa-84c2-443b-8664-5fe1b97ac9bb] [runWorker=true] [2024/05/06 15:33:37.439 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:37.439 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:37.439 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:37.440 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:37.440 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:37.440 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:37.440 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayRecordFlushLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:37.440 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:37.442 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:37.446 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:37.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.446 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:37.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:37.452 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.455 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:37.461 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=6.750647ms] [2024/05/06 15:33:37.462 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:37.464 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.464 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:37.465 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=10.028335ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:37.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.466 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:37.469 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.472 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:37.472 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.472 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:37.472 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchemaWithInfo\n\tpkg/ddl/ddl_api.go:222\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchema\n\tpkg/ddl/ddl_api.go:172\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateSchema\n\tpkg/ddl/schematracker/checker.go:171\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateDatabase\n\tpkg/executor/ddl.go:255\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:153\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2930\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:37.473 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:37.474 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:37.478 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.478 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:37.484 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.490 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:37.491 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=982.1µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:37.493 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.493 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:37.495 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.959068ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.497 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:37.502 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.475 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.507 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:37.508 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:37.508 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.509 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2934\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:37.509 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.509 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:37.512 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.512 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:37.517 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.519 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:37.520 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=230.223µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:37.520 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.521 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:37.522 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.96726ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.523 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:37.526 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.528 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:37.528 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:37.528 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.528 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2936\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:37.529 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.529 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:37.531 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.531 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:37.536 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.539 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:37.539 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=233.941µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:37.540 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.540 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:37.541 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.169738ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.541 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:37.546 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.53 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.549 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:37.549 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:37.549 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.549 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2938\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:37.550 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:37.554 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.554 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:37.561 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.565 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:37.566 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=555.195µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:37.567 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.567 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:37.568 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.95711ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.569 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:37.578 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.582 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:37.583 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:37.583 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.584 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2939\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:37.584 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:37.587 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.587 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:37.592 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.595 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:37.596 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=377.808µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:37.597 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.597 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:37.598 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.519004ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.598 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:37.602 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.605 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:37.605 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:37.605 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.605 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2940\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:37.606 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:37.608 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.608 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:37.616 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.619 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:37.619 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=292.737µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:37.621 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.621 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:37.623 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=4.122443ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.624 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:37.627 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.631 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:37.631 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:37.631 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.631 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2941\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:37.632 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:37.635 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.635 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:37.641 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.644 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:37.645 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=214.255µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:37.646 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.646 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:37.647 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.485792ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.647 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:37.650 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.633 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.652 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:37.652 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:37.652 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.652 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2943\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:37.653 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:37.655 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.655 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:37.663 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.665 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:37.665 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=197.231µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:37.666 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.666 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:37.667 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.602581ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.668 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:37.672 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.654 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.675 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:37.675 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:37.675 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.675 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2945\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:37.676 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:37.678 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.678 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:37.682 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.684 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:37.685 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=258.532µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:37.686 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.686 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:37.687 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.488751ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.688 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:37.690 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:37.691 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.677 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.694 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:37.695 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:37.695 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.695 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2947\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:37.695 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.695 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.695 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.696 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:37.699 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.699 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:37.705 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.707 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:37.707 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=281.542µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:37.708 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.709 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:37.710 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.89238ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.710 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:37.713 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.716 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:37.716 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:37.716 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.716 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2949\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:37.717 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:37.717 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:37.719 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.719 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:37.725 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.728 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:37.728 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=299.346µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:37.729 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.729 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:37.730 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.580999ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.731 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:37.734 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.718 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.737 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:37.737 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:37.737 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.737 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2951\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:37.738 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:37.740 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.741 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:37.745 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.747 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:37.748 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=379.894µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:37.749 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.749 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:37.750 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.451424ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.750 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:37.754 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.757 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:37.757 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:37.758 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.758 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2953\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:37.758 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:37.760 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.760 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:37.765 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.768 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:37.768 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=194.506µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:37.769 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.770 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:37.770 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.016993ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.771 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:37.773 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.776 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:37.776 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:37.776 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.776 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2955\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:37.777 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:37.779 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.779 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:37.784 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.788 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:37.788 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=287.019µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:37.789 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.789 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:37.790 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.646141ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.791 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:37.796 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.778 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.799 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:37.799 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:37.799 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.800 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2957\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:37.800 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:37.803 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.803 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:37.808 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.811 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:37.812 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=380.969µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:37.813 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.813 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:37.816 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=4.86052ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.817 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:37.820 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.802 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.822 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:37.822 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:37.822 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.823 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2960\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:37.823 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:37.826 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.824 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.826 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.824 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:37.834 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.824 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.838 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:37.839 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=391.797µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:37.840 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.840 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:37.842 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=4.144321ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.824 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.843 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:37.850 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.824 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.852 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:37.852 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:37.853 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.853 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2962\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:37.853 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:37.856 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.855 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.856 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.855 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:37.861 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.855 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.864 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:37.864 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=286.125µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:37.865 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.865 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:37.866 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.29143ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.855 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.866 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:37.870 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.855 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.872 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:37.873 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:37.873 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.873 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2964\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:37.873 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:37.876 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.876 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:37.881 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.885 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:37.885 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=289.97µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:37.886 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.886 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:37.888 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.900538ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.889 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:37.892 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.895 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:37.895 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:37.895 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.895 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.initBindInfoTable\n\tpkg/session/bootstrap.go:1961\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2966\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:37.896 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.896 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.896 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.896 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.896 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.896 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:37.897 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:37.900 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.900 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:37.905 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.908 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:37.908 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=222.92µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:37.909 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.909 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:37.911 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=3.037006ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.912 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:37.915 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.918 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:37.918 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:37.918 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.919 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2968\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:37.919 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:37.922 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.922 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:37.927 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.929 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:37.929 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=198.358µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:37.931 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.931 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:37.931 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.221897ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.932 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:37.936 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.92 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.939 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:37.939 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:37.939 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.940 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2970\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:37.940 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:37.940 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:37.943 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.943 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:37.948 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.950 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:37.950 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=226.355µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:37.952 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.952 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:37.952 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.140066ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.954 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:37.957 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.941 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.960 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:37.960 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:37.960 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.960 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2972\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:37.961 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:37.964 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.964 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:37.970 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.975 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:37.976 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=433.616µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:37.977 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:37.977 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:37.978 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.245024ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.979 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:37.983 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.963 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:37.986 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:37.987 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:37.987 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:37.987 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2974\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:37.988 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:37.991 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:37.991 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:37.999 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.002 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:38.003 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=356.449µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:38.004 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.004 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:38.005 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.246703ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:37.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.006 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:38.009 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:37.99 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.012 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:38.012 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:38.012 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.012 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2976\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:38.013 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:38.016 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.014 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.016 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.014 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:38.023 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.014 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.027 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:38.027 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=320.626µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:38.028 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.029 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:38.029 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.560682ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.014 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.030 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:38.033 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.014 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.036 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:38.036 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:38.036 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.037 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2978\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:38.037 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:38.040 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.040 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:38.045 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.049 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:38.049 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=306.717µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:38.050 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.050 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:38.052 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=3.075028ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.053 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:38.056 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.059 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:38.060 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:38.060 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.060 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2980\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:38.061 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:38.063 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.063 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:38.068 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.071 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:38.072 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=289.152µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:38.073 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.073 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:38.074 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.986661ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.075 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:38.079 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.062 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.082 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:38.082 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:38.082 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.083 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2982\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:38.083 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:38.086 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.086 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:38.094 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.098 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:38.098 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=229.68µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:38.099 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.099 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:38.102 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=4.18727ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.103 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:38.106 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.085 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.110 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:38.110 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:38.110 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.110 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2984\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:38.111 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:38.113 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.112 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.113 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.112 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:38.121 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.112 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.124 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:38.124 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=291.992µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:38.126 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.126 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:38.128 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=4.467723ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.112 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.129 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:38.133 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.112 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.136 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:38.136 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:38.136 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.136 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2986\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:38.137 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:38.137 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:38.139 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.138 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.140 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.138 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:38.146 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.138 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.150 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:38.150 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=307.95µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:38.152 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.152 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:38.152 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.023651ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.138 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.153 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:38.156 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.138 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.159 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:38.159 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:38.159 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.160 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2988\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:38.160 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:38.163 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.162 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.163 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.162 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:38.169 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.162 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.173 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:38.173 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=358.191µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:38.175 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.175 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:38.175 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.583948ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.162 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.176 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:38.180 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.162 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.185 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:38.185 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:38.185 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.185 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2990\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:38.186 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:38.190 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.190 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:38.190 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:38.196 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.199 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:38.200 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=300.326µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:38.201 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.201 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:38.202 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.704146ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.203 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:38.207 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.188 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.211 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:38.211 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:38.211 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.211 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2992\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:38.212 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:38.215 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.215 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:38.222 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.231 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:38.231 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=475.515µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:38.233 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.233 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:38.233 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.231686ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.234 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:38.244 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.248 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:38.249 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:38.249 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.249 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2994\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:38.249 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.249 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.250 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:38.252 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.252 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:38.260 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.263 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:38.263 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=236.435µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:38.264 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.264 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:38.265 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.406229ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.266 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:38.271 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.274 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:38.274 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:38.275 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.275 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2996\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:38.278 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:38.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.279 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:38.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:38.288 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.292 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:38.292 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=320.454µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:38.294 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.294 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:38.294 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.051223ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:38.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.295 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:38.299 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.277 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.306 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:38.307 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:38.307 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.307 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateView\n\tpkg/ddl/ddl_api.go:3046\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateView\n\tpkg/ddl/schematracker/checker.go:247\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateView\n\tpkg/executor/ddl.go:309\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:159\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2998\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:38.308 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:38.311 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.311 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:38.317 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.321 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:38.322 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=332.293µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:38.323 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.323 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:38.326 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=4.859684ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.327 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:38.331 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.334 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:38.335 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:38.335 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.335 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3000\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:38.335 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.335 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.336 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:38.339 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.339 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:38.346 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.349 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:38.349 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=264.304µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:38.350 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.350 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:38.351 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.605185ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.352 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:38.356 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.361 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:38.361 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:38.361 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.362 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3002\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:38.366 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:38.369 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.369 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:38.377 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.381 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:38.381 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=258.161µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:38.382 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.382 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:38.383 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.437276ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.384 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:38.392 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.367 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.394 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:38.395 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:38.395 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.395 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3004\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:38.396 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:38.399 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.399 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:38.408 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.412 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:38.413 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=473.001µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:38.414 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.414 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:38.415 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=3.264359ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.416 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:38.421 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.397 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.425 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:38.426 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:38.426 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.426 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3006\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:38.427 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.427 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.427 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.427 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:38.431 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.431 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:38.438 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.440 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayWatchSyncLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:38.440 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:38.440 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:38.443 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:38.444 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=491.412µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:38.445 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.445 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:38.450 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=6.453274ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.451 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:38.456 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.429 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.459 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:38.460 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:38.460 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.460 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3008\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:38.461 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.461 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:38.468 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.468 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:38.476 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.481 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:38.481 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=553.415µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:38.483 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.483 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:38.485 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.782866ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.486 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:38.490 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.467 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.494 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:38.495 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:38.495 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.495 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3010\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:38.495 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.496 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:38.509 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.497 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.509 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.497 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:38.518 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.497 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.525 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:38.526 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=449.296µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:38.527 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.527 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:38.531 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=5.828497ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.497 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.532 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:38.538 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.497 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.542 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:38.542 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:38.542 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.543 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3012\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:38.543 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:38.551 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.549 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.551 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.549 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:38.558 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.549 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.563 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:38.563 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=591.29µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:38.565 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.565 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:38.567 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.512094ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.549 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.568 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:38.573 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.549 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.577 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:38.577 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:38.578 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.578 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3014\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:38.578 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:38.583 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.58 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.583 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.58 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:38.591 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.58 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.595 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:38.596 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=710.166µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:38.604 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.604 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:38.606 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=11.078188ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.58 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.608 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:38.614 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.58 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.618 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:38.619 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:38.619 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.619 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3016\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:38.619 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.619 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.619 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.619 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.620 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:38.624 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.624 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:38.630 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.636 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:38.637 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=528.484µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:38.638 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.638 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:38.646 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=10.365753ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.647 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:38.652 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.621 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.657 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:38.663 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:38.663 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.663 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3018\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:38.663 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.663 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.663 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.665 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:38.668 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.668 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:38.675 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.679 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:38.680 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=399.272µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:38.681 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.681 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:38.682 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.592947ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.684 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:38.690 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.666 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.690 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:38.694 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:38.694 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:38.694 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.694 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3020\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:38.695 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.695 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:38.702 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.702 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:38.708 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.712 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:38.713 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=603.795µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:38.714 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.714 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:38.716 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.06639ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.717 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:38.725 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.697 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.729 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:38.729 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:38.729 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.729 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3022\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:38.730 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.730 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.730 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:38.735 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.735 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:38.743 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.748 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:38.749 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=587.909µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:38.750 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.750 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:38.753 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=4.784622ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.754 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:38.760 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.733 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.766 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:38.767 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:38.769 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.773 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3024\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:38.775 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:38.781 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.781 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:38.796 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.800 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:38.801 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=509.095µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:38.802 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.802 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:38.805 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=5.210797ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.806 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:38.810 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.779 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.814 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:38.815 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:38.815 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.815 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3026\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:38.815 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:38.816 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:38.819 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.819 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:38.829 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.832 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:38.832 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=265.352µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:38.833 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:38.833 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:38.834 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.275385ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.835 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:38.839 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.817 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.843 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:38.843 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:38.843 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.843 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3028\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:38.883 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=1.443257907s] [2024/05/06 15:33:38.883 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8ad688aa-84c2-443b-8664-5fe1b97ac9bb] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:38.883 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:38.883 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=4.67µs] [2024/05/06 15:33:38.884 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=3.628µs] [2024/05/06 15:33:38.884 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=14.1µs] [2024/05/06 15:33:38.884 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=10.761µs] [2024/05/06 15:33:38.884 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:38.884 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=1.239µs] [2024/05/06 15:33:38.884 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:38.884 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:38.893 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=8ad688aa-84c2-443b-8664-5fe1b97ac9bb] ["take time"=9.712807ms] [2024/05/06 15:33:38.893 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=8ad688aa-84c2-443b-8664-5fe1b97ac9bb] [2024/05/06 15:33:38.893 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:38.893 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:38.893 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:38.893 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:38.893 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:38.893 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:38.893 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:38.893 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:38.893 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:38.893 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:38.893 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:38.893 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=10.079171ms] [2024/05/06 15:33:38.893 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=b6422363-adb0-48ab-84fa-477ec0a1cc05] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:38.901 +08:00] [WARN] [runaway.go:397] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 15:33:38.902 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.createSessionsImpl\n\tpkg/session/session.go:3561\ngithub.com/pingcap/tidb/pkg/session.createSessions\n\tpkg/session/session.go:3548\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3323\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:73\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:38.918 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=15.95761ms] [2024/05/06 15:33:38.919 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:38.919 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=d01a0a0f-4d12-424f-bf84-8a0c72bb9adc] [runWorker=true] [2024/05/06 15:33:38.919 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:38.919 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:38.919 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:38.919 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:38.921 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:38.921 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayRecordFlushLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:38.921 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:38.922 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:38.925 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:38.925 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:38.925 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:38.938 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:38.941 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:38.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:38.943 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:38.944 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:38.945 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:38.945 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:38.945 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:38.945 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:38.947 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=50] [cur_db=test] [sql="rename table tb1 to tb2;"] [user=] [2024/05/06 15:33:38.947 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:38.947 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:38.947 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=50] [error="[schema:1146]Table 'test.tb1' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.tb1' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:164\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:6953\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:6843\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:6825\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).RenameTable\n\tpkg/ddl/schematracker/checker.go:357\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRenameTable\n\tpkg/executor/ddl.go:251\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:186\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:336\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:441\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:77\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:38.948 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=50] [cur_db=test] [sql="create table t (c1 int, c2 int)"] [user=] [2024/05/06 15:33:38.951 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.951 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (c1 int, c2 int)"] [2024/05/06 15:33:38.957 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=103] [conn=13] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.962 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:38.962 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=253.125µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[3]"] [2024/05/06 15:33:38.963 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=103] [version=51] [2024/05/06 15:33:38.965 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=3.051928ms] [job="ID:103, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:38.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.966 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:38.970 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=103] [conn=13] [job="ID:103, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.949 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.972 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 15:33:38.973 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.973 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:38.973 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:79\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:38.974 +08:00] [WARN] [2pc.go:1803] ["schemaLeaseChecker is not set for this transaction"] [sessionID=13] [startTS=449571931808858116] [checkTS=449571931809120256] [2024/05/06 15:33:38.975 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=51] [cur_db=test] [sql="create database test1"] [user=] [2024/05/06 15:33:38.978 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:38.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.978 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:38.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create database test1"] [2024/05/06 15:33:38.984 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=13] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.986 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:38.986 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=91.101µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:38.988 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=52] [2024/05/06 15:33:38.988 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.256807ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:38.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.989 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:38.992 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=13] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.977 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:38.995 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 15:33:38.995 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:38.995 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:38.995 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchemaWithInfo\n\tpkg/ddl/ddl_api.go:222\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchema\n\tpkg/ddl/ddl_api.go:172\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateSchema\n\tpkg/ddl/schematracker/checker.go:171\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateDatabase\n\tpkg/executor/ddl.go:255\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:153\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:86\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:38.996 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=52] [cur_db=test1] [sql="alter table test.t rename to test1.t1"] [user=] [2024/05/06 15:33:38.999 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:rename table, State:queueing, SchemaState:none, SchemaID:104, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:38.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:38.999 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:106, Type:rename table, State:queueing, SchemaState:none, SchemaID:104, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:38.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table test.t rename to test1.t1"] [2024/05/06 15:33:39.004 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:rename table, State:queueing, SchemaState:none, SchemaID:104, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.007 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=53] [2024/05/06 15:33:39.007 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=204.488µs] [gotSchemaVersion=53] [phyTblIDs="[102]"] [actionTypes="[14]"] [2024/05/06 15:33:39.008 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=106] [version=53] [2024/05/06 15:33:39.009 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.090775ms] [job="ID:106, Type:rename table, State:running, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:38.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.010 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=53] [2024/05/06 15:33:39.013 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:rename table, State:running, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.016 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:39.016 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=172.173µs] [gotSchemaVersion=54] [phyTblIDs="[102]"] [actionTypes="[14]"] [2024/05/06 15:33:39.017 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=106] [version=54] [2024/05/06 15:33:39.018 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.591253ms] [job="ID:106, Type:rename table, State:done, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:38.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.019 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:39.023 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=13] [job="ID:106, Type:rename table, State:synced, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:38.998 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.026 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:39.026 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 15:33:39.026 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.026 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:6874\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3767\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:88\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:39.027 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=54] [cur_db=test] [sql="create table t (c1 int, c2 int)"] [user=] [2024/05/06 15:33:39.031 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.029 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.031 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.029 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (c1 int, c2 int)"] [2024/05/06 15:33:39.041 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=13] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.029 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.044 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:39.044 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=224.974µs] [gotSchemaVersion=55] [phyTblIDs="[107]"] [actionTypes="[3]"] [2024/05/06 15:33:39.046 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=55] [2024/05/06 15:33:39.046 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.148866ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.029 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.047 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:39.051 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=13] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.029 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.054 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:39.054 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 15:33:39.054 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.054 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:97\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:39.054 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=55] [cur_db=test] [sql="drop table t"] [user=] [2024/05/06 15:33:39.057 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.057 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table t"] [2024/05/06 15:33:39.062 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=13] [category=ddl] [job="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.065 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:39.065 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=73.997µs] [gotSchemaVersion=56] [phyTblIDs="[107]"] [actionTypes="[4]"] [2024/05/06 15:33:39.067 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=109] [version=56] [2024/05/06 15:33:39.067 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.06311ms] [job="ID:109, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.068 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:39.071 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=13] [category=ddl] [job="ID:109, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.073 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:39.074 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=63.338µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:39.075 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=109] [version=57] [2024/05/06 15:33:39.075 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.031733ms] [job="ID:109, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.076 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:39.079 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=13] [category=ddl] [job="ID:109, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.081 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=58] [2024/05/06 15:33:39.081 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=41.57µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:39.083 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=109] [version=58] [2024/05/06 15:33:39.084 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.909639ms] [job="ID:109, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.085 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=58] [2024/05/06 15:33:39.088 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=109] [elementID=1] [comment="table ID is 107"] [2024/05/06 15:33:39.089 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="drop table"] [2024/05/06 15:33:39.090 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=13] [job="ID:109, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:39.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.092 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=58] [2024/05/06 15:33:39.094 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=109] [elementID=1] [startKey=74800000000000006b] [endKey=74800000000000006c] [2024/05/06 15:33:39.095 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 15:33:39.096 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.096 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropTableObject\n\tpkg/ddl/ddl_api.go:6717\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropTable\n\tpkg/ddl/ddl_api.go:6750\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).DropTable\n\tpkg/ddl/schematracker/checker.go:262\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropTable\n\tpkg/executor/ddl.go:346\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:168\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:98\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=58] [2024/05/06 15:33:39.096 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=58] [cur_db=test1] [sql="alter table t1 rename to t2"] [user=] [2024/05/06 15:33:39.098 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:rename table, State:queueing, SchemaState:none, SchemaID:104, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:39.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.098 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:110, Type:rename table, State:queueing, SchemaState:none, SchemaID:104, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:39.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="alter table t1 rename to t2"] [2024/05/06 15:33:39.104 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=13] [category=ddl] [job="ID:110, Type:rename table, State:queueing, SchemaState:none, SchemaID:104, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.106 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=59] [2024/05/06 15:33:39.106 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=208.056µs] [gotSchemaVersion=59] [phyTblIDs="[102]"] [actionTypes="[14]"] [2024/05/06 15:33:39.107 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=110] [version=59] [2024/05/06 15:33:39.109 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=3.000042ms] [job="ID:110, Type:rename table, State:running, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.110 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=59] [2024/05/06 15:33:39.112 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=13] [category=ddl] [job="ID:110, Type:rename table, State:running, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.114 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:39.115 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=185.621µs] [gotSchemaVersion=60] [phyTblIDs="[102]"] [actionTypes="[14]"] [2024/05/06 15:33:39.116 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=110] [version=60] [2024/05/06 15:33:39.116 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.070769ms] [job="ID:110, Type:rename table, State:done, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.117 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:39.121 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=13] [job="ID:110, Type:rename table, State:synced, SchemaState:public, SchemaID:104, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.123 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:39.123 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 15:33:39.123 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.124 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:6874\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3767\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:102\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:39.125 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=60] [cur_db=test1] [sql="alter table test_not_exist.t rename to test_not_exist.t"] [user=] [2024/05/06 15:33:39.125 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.125 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=60] [error="[schema:1146]Table 'test_not_exist.t' doesn't exist"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.125 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=60] [cur_db=test1] [sql="alter table test.test_not_exist rename to test.test_not_exist"] [user=] [2024/05/06 15:33:39.125 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.125 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=60] [error="[schema:1146]Table 'test.test_not_exist' doesn't exist"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.126 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=60] [cur_db=test1] [sql="alter table test.t_not_exist rename to test_not_exist.t"] [user=] [2024/05/06 15:33:39.126 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.126 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=60] [error="[schema:1146]Table 'test.t_not_exist' doesn't exist"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.126 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=60] [cur_db=test1] [sql="alter table test1.t2 rename to test_not_exist.t"] [user=] [2024/05/06 15:33:39.126 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.126 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=60] [error="[ddl:1025]Error on rename of 'test1.t2' to 'test_not_exist.t' (errno: 168 - Database `test_not_exist` doesn't exist)"] [errorVerbose="[ddl:1025]Error on rename of 'test1.t2' to 'test_not_exist.t' (errno: 168 - Database `test_not_exist` doesn't exist)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:164\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:6968\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:6843\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3767\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:336\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:441\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:120\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.126 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=60] [cur_db=test1] [sql="create table if not exists t_exist (c1 int, c2 int)"] [user=] [2024/05/06 15:33:39.129 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.129 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table if not exists t_exist (c1 int, c2 int)"] [2024/05/06 15:33:39.134 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=112] [conn=13] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.137 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=61] [2024/05/06 15:33:39.137 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=254.84µs] [gotSchemaVersion=61] [phyTblIDs="[111]"] [actionTypes="[3]"] [2024/05/06 15:33:39.138 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=112] [version=61] [2024/05/06 15:33:39.139 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.096177ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.139 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=61] [2024/05/06 15:33:39.142 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=112] [conn=13] [job="ID:112, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.128 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.144 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=61] [2024/05/06 15:33:39.144 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/06 15:33:39.145 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.145 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:123\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=61] [2024/05/06 15:33:39.145 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=61] [cur_db=test1] [sql="alter table test1.t2 rename to test1.t_exist"] [user=] [2024/05/06 15:33:39.145 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.145 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=61] [error="[schema:1050]Table 'test1.t_exist' already exists"] [errorVerbose="[schema:1050]Table 'test1.t_exist' already exists\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:164\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:6975\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:6843\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3767\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:336\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:441\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:125\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.146 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=61] [cur_db=test1] [sql="alter table test.t_not_exist rename to test1.t_exist"] [user=] [2024/05/06 15:33:39.146 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.146 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=61] [error="[schema:1146]Table 'test.t_not_exist' doesn't exist"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.146 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=61] [cur_db=test1] [sql="alter table test_not_exist.t rename to test1.t_exist"] [user=] [2024/05/06 15:33:39.146 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.146 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=61] [error="[schema:1146]Table 'test_not_exist.t' doesn't exist"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.146 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=61] [cur_db=test1] [sql="alter table test_not_exist.t rename to test1.t_not_exist"] [user=] [2024/05/06 15:33:39.146 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.147 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=61] [error="[schema:1146]Table 'test_not_exist.t' doesn't exist"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.147 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=61] [cur_db=test1] [sql="create table if not exists t (c1 int, c2 int)"] [user=] [2024/05/06 15:33:39.149 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.148 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.149 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.148 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table if not exists t (c1 int, c2 int)"] [2024/05/06 15:33:39.154 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=114] [conn=13] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.148 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.157 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:39.157 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=201.658µs] [gotSchemaVersion=62] [phyTblIDs="[113]"] [actionTypes="[3]"] [2024/05/06 15:33:39.158 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=114] [version=62] [2024/05/06 15:33:39.159 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=2.163137ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.148 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.159 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:39.163 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=114] [conn=13] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.148 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.166 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:39.167 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 15:33:39.167 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.167 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:145\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:39.167 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=62] [cur_db=test1] [sql="create table if not exists t1 (c1 int, c2 int)"] [user=] [2024/05/06 15:33:39.170 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.170 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table if not exists t1 (c1 int, c2 int)"] [2024/05/06 15:33:39.171 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:39.176 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=116] [conn=13] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.178 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:39.179 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=178.402µs] [gotSchemaVersion=63] [phyTblIDs="[115]"] [actionTypes="[3]"] [2024/05/06 15:33:39.180 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=116] [version=63] [2024/05/06 15:33:39.181 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=2.855327ms] [job="ID:116, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.182 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:39.185 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=116] [conn=13] [job="ID:116, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.188 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:39.188 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/06 15:33:39.188 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.188 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:146\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:39.189 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=63] [cur_db=test1] [sql="alter table test1.t rename to t"] [user=] [2024/05/06 15:33:39.189 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=63] [cur_db=test1] [sql="alter table test1.t1 rename to test1.T1"] [user=] [2024/05/06 15:33:39.189 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=63] [cur_db=test1] [sql="rename table test1.t1 to test1.txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"] [user=] [2024/05/06 15:33:39.190 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.190 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=63] [error="[ddl:1059]Identifier name 'txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' is too long"] [errorVerbose="[ddl:1059]Identifier name 'txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' is too long\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:164\ngithub.com/pingcap/tidb/pkg/ddl.checkTooLongTable\n\tpkg/ddl/ddl_api.go:677\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:6977\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:6843\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:6825\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).RenameTable\n\tpkg/ddl/schematracker/checker.go:357\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRenameTable\n\tpkg/executor/ddl.go:251\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:186\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:336\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:441\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:156\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.190 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=63] [cur_db=test1] [sql="alter table test1.t1 rename to test1.txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"] [user=] [2024/05/06 15:33:39.190 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:39.190 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=63] [error="[ddl:1059]Identifier name 'txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' is too long"] [errorVerbose="[ddl:1059]Identifier name 'txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' is too long\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:164\ngithub.com/pingcap/tidb/pkg/ddl.checkTooLongTable\n\tpkg/ddl/ddl_api.go:677\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:6977\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:6843\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3767\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:336\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:441\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:39.193 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=63] [cur_db=test1] [sql="drop database test1"] [user=] [2024/05/06 15:33:39.195 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop schema, State:queueing, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.195 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop schema, State:queueing, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop database test1"] [2024/05/06 15:33:39.198 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop schema, State:queueing, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.200 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=64] [2024/05/06 15:33:39.200 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=67.897µs] [gotSchemaVersion=64] [phyTblIDs="[102,111,113,115]"] [actionTypes="[2,2,2,2]"] [2024/05/06 15:33:39.202 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=117] [version=64] [2024/05/06 15:33:39.202 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=2.018008ms] [job="ID:117, Type:drop schema, State:running, SchemaState:write only, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.203 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=64] [2024/05/06 15:33:39.206 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop schema, State:running, SchemaState:write only, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.208 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=65] [2024/05/06 15:33:39.208 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=42.375µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:39.209 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=117] [version=65] [2024/05/06 15:33:39.210 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=2.34367ms] [job="ID:117, Type:drop schema, State:running, SchemaState:delete only, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.211 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=65] [2024/05/06 15:33:39.214 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=13] [category=ddl] [job="ID:117, Type:drop schema, State:running, SchemaState:delete only, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.217 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=66] [2024/05/06 15:33:39.217 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=46.378µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:39.219 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=117] [version=66] [2024/05/06 15:33:39.220 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=2.882239ms] [job="ID:117, Type:drop schema, State:done, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.221 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=66] [2024/05/06 15:33:39.228 +08:00] [INFO] [delete_range.go:480] ["batch insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[102,111]"] [2024/05/06 15:33:39.230 +08:00] [INFO] [delete_range.go:480] ["batch insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[113,115]"] [2024/05/06 15:33:39.231 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop schema"] [2024/05/06 15:33:39.231 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=13] [job="ID:117, Type:drop schema, State:synced, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.239 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=66] [2024/05/06 15:33:39.241 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=117] [elementID=1] [startKey=748000000000000066] [endKey=748000000000000067] [2024/05/06 15:33:39.241 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/06 15:33:39.244 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.245 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropSchema\n\tpkg/ddl/ddl_api.go:627\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).DropSchema\n\tpkg/ddl/schematracker/checker.go:201\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropDatabase\n\tpkg/executor/ddl.go:329\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:163\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.renameTableTest\n\tpkg/ddl/db_rename_test.go:159\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterTableRenameTable\n\tpkg/ddl/db_rename_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=66] [2024/05/06 15:33:39.248 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d01a0a0f-4d12-424f-bf84-8a0c72bb9adc] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:39.248 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:39.248 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=2.032µs] [2024/05/06 15:33:39.248 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=1.583µs] [2024/05/06 15:33:39.248 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=933ns] [2024/05/06 15:33:39.248 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=1.374µs] [2024/05/06 15:33:39.248 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:39.248 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=884ns] [2024/05/06 15:33:39.248 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:39.249 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=117] [elementID=2] [startKey=74800000000000006f] [endKey=748000000000000070] [2024/05/06 15:33:39.255 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=117] [elementID=3] [startKey=748000000000000071] [endKey=748000000000000072] [2024/05/06 15:33:39.273 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=117] [elementID=4] [startKey=748000000000000073] [endKey=748000000000000074] [2024/05/06 15:33:39.273 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:39.282 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=d01a0a0f-4d12-424f-bf84-8a0c72bb9adc] ["take time"=36.928086ms] [2024/05/06 15:33:39.282 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=d01a0a0f-4d12-424f-bf84-8a0c72bb9adc] [2024/05/06 15:33:39.282 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:39.282 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:39.283 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:39.283 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:39.283 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:39.283 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:39.283 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:39.283 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:39.283 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:39.283 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:39.283 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:39.286 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d01a0a0f-4d12-424f-bf84-8a0c72bb9adc] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:39.286 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:39.286 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:39.286 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d01a0a0f-4d12-424f-bf84-8a0c72bb9adc] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:39.286 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:39.289 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=44.132698ms] [2024/05/06 15:33:39.290 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:39.290 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:39.290 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:39.290 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:39.290 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:39.290 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAlterTableRenameTable (1.87s) === RUN TestCreateDropCreateTable [2024/05/06 15:33:39.302 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:39.303 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:39.303 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:39.303 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:39.303 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:39.304 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:39.306 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=1cd3a45a-ef14-4148-ace6-d6af926b903d] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:39.313 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:39.313 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:39.313 +08:00] [WARN] [domain.go:240] ["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:322\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateDropCreateTable\n\tpkg/ddl/ddl_api_test.go:155\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:39.318 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=4.455415ms] [2024/05/06 15:33:39.318 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:39.319 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=90049356-f7e3-49c3-9eee-aacc85938c68] [runWorker=true] [2024/05/06 15:33:39.319 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:39.319 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:39.319 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:39.319 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:39.319 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:39.319 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:39.320 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:39.320 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:39.323 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.321 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.323 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.321 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:39.369 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:39.369 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:39.376 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.321 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.384 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.818994ms] [2024/05/06 15:33:39.385 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:39.386 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.386 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:39.386 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.279859ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:39.321 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.391 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.321 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.393 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:39.394 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.394 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:39.395 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:39.400 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.400 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:39.408 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.419 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.067458ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:39.420 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.420 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:39.422 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.687738ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.431 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.396 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.440 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:39.441 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.441 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:39.446 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.446 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:39.453 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.459 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=273.244µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:39.460 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.460 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:39.460 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.01699ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.467 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.443 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.478 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:39.482 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.483 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:39.486 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.486 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:39.492 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.495 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=251.597µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:39.497 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.497 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:39.503 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=7.905122ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.509 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.485 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.516 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:39.516 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.518 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:39.524 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.524 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:39.562 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.569 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=705.604µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:39.570 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.570 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:39.572 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.025956ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.579 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.52 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.585 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:39.585 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.586 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:39.590 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.590 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:39.599 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.608 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=412.937µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:39.609 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.609 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:39.609 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.291764ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.618 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.588 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.622 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:39.622 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.622 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:39.626 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.626 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:39.636 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.644 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=388.111µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:39.646 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.646 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:39.646 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.046229ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.652 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.624 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.656 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:39.656 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.656 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:39.660 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.660 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:39.669 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.674 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=294.478µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:39.675 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.675 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:39.676 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.102663ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.681 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.659 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.685 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:39.685 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.686 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:39.689 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.689 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:39.703 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.709 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=269.03µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:39.710 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.710 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:39.711 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.144857ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.716 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.720 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:39.720 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.721 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:39.725 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.725 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:39.735 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.743 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=342.373µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:39.745 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.745 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:39.745 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.029797ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.752 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.722 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.757 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:39.757 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.757 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:39.760 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.760 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:39.793 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.797 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=344.567µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:39.798 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.798 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:39.798 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.049188ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.809 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.759 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.813 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:39.813 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.813 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:39.814 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:39.817 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.817 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:39.828 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.833 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=491.295µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:39.834 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.834 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:39.836 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.023645ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.845 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.815 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.849 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:39.849 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.850 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:39.854 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.852 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.855 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.852 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:39.864 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.852 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.868 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=426.278µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:39.870 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.870 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:39.870 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.020313ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.852 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.879 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.852 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.883 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:39.883 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.884 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:39.887 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.887 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:39.905 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.909 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=353.862µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:39.911 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.911 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:39.913 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.463847ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.920 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.926 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:39.926 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.926 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:39.934 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.934 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:39.945 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.950 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=364.353µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:39.951 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:39.951 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:39.954 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=5.029575ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.985 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.931 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:39.989 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:39.990 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:39.990 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:39.993 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:39.993 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:40.003 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.006 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=319.944µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:40.008 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.008 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:40.010 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=4.719582ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:39.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.017 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:39.991 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.021 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:40.021 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.021 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:40.027 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.027 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:40.036 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.043 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=3.598329ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:40.045 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.045 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:40.050 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=10.010678ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.058 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.024 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.063 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:40.063 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.064 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:40.067 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.066 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.067 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.066 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:40.091 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.066 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.097 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=302.976µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:40.098 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.098 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:40.099 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.041128ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.066 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.105 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.066 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.112 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:40.112 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.113 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:40.116 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.116 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:40.123 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.128 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=413.344µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:40.129 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.129 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:40.134 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=6.3197ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.141 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.146 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:40.147 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.148 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:40.151 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.15 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.151 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.15 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:40.160 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.15 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.165 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=366.205µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:40.166 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.166 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:40.167 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.650362ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.15 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.173 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.15 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.176 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:40.177 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.177 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:40.180 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.180 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:40.191 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.195 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=269.977µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:40.196 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.196 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:40.197 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.624748ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.212 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.179 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.218 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:40.226 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.227 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:40.230 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.230 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:40.245 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.248 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=228.9µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:40.250 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.250 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:40.251 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.85749ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.262 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.229 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.265 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:40.265 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.266 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:40.269 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.269 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:40.279 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.287 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=375.394µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:40.289 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.289 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:40.291 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=4.264779ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.300 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.267 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.304 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:40.304 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.305 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:40.316 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.316 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:40.324 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.332 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=344.153µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:40.334 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.334 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:40.326 +08:00] [ERROR] [runaway.go:145] ["try to get new runaway watch"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:145\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:40.334 +08:00] [WARN] [runaway.go:172] ["get runaway watch record failed"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [2024/05/06 15:33:40.336 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=4.614142ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.344 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.309 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.351 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:40.351 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.352 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:40.362 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.362 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:40.377 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.380 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=265.668µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:40.381 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.381 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:40.388 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=8.00023ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.396 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.36 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.401 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:40.401 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.401 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:40.404 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.402 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.404 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.402 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:40.425 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.402 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.429 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=311.644µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:40.433 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.434 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:40.435 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=6.135ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.402 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.444 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.402 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.448 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:40.448 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.448 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:40.451 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.451 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:40.459 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.463 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=270.438µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:40.464 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.464 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:40.464 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.008419ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.470 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.474 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:40.474 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.475 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:40.482 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.482 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:40.489 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.496 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=350.223µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:40.497 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.498 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:40.500 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=4.171724ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.505 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.476 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.510 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:40.510 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.511 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:40.514 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.514 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:40.533 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.536 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=245.076µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:40.537 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.537 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:40.537 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.018986ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.546 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.512 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.550 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:40.550 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.551 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:40.551 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:40.557 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.557 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:40.568 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.577 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=317.589µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:40.578 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.578 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:40.580 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=3.833758ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.588 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.555 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.592 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:40.593 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.593 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:40.597 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.597 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:40.609 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.613 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=380.55µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:40.614 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.614 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:40.615 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.910558ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.621 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.595 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.624 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:40.624 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.625 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:40.628 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.628 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:40.636 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.639 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=344.789µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:40.640 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.640 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:40.641 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.25495ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.646 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.626 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.649 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:40.649 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.650 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:40.653 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.653 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:40.660 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.668 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=520.383µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:40.671 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.671 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:40.672 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=4.742045ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.678 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.651 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.682 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:40.682 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.683 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:40.689 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.689 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:40.696 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.698 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=193.959µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:40.700 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.700 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:40.700 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.278609ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.705 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.688 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.709 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:40.709 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.713 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:40.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.713 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:40.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:40.727 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.731 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=302.286µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:40.732 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.732 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:40.733 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.054076ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:40.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.737 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.741 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:40.741 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.742 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:40.746 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.746 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:40.752 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.755 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=274.67µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:40.757 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.757 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:40.757 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.131729ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.774 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.744 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.778 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:40.783 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.783 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:40.787 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.787 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:40.791 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.795 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=474.681µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:40.797 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.797 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:40.797 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.07605ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.802 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.805 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:40.805 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.806 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:40.809 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.809 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:40.815 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.818 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=261.285µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:40.819 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.819 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:40.820 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.332643ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.827 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.807 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.830 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:40.830 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.831 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:40.834 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.834 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:40.840 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.847 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=1.635642ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:40.849 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.849 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:40.849 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.231454ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.855 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.832 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.859 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:40.860 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.860 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:40.864 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.864 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:40.870 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.876 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=393.398µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:40.877 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.877 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:40.879 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.350258ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.885 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.862 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.897 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:40.897 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.897 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:40.901 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.901 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:40.907 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.912 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=517.66µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:40.914 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.914 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:40.917 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.987153ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.922 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.899 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.926 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:40.926 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.927 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:40.929 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.930 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:40.936 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.940 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=421.893µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:40.942 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.942 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:40.943 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.880539ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.947 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.964 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:40.964 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:40.965 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:40.968 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:40.968 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:40.979 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:40.998 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=483.733µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:40.999 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:40.999 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:41.005 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=7.266891ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:40.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.011 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:40.966 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.016 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:41.016 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.016 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:41.020 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.020 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:41.028 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.038 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=449.316µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:41.039 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:41.040 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:41.043 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=5.111679ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.048 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.018 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.053 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:41.053 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.054 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:41.058 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.058 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:41.065 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.070 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=495.839µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:41.071 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:41.071 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:41.073 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=4.053693ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.080 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.084 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:41.084 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.085 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:41.088 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.086 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.088 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.086 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:41.095 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.086 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.099 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=371.534µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:41.100 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:41.100 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:41.102 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=3.685379ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.086 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.108 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.086 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.111 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:41.112 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.112 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:41.115 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.115 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:41.122 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.126 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=338.002µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:41.127 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:41.127 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:41.128 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.819936ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.134 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.138 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:41.138 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.138 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:41.143 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.143 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:41.151 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.160 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=643.277µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:41.161 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:41.161 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:41.163 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=6.225522ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.167 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.14 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.172 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:41.172 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.172 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:41.175 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.175 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:41.184 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.188 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=364.223µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:41.189 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:41.189 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:41.189 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.017129ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.194 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.174 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.198 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:41.198 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.199 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:41.202 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.202 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:41.210 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.213 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=299.296µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:41.214 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:41.214 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:41.215 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.702703ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.219 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.2 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.224 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:41.224 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.260 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=1.941339066s] [2024/05/06 15:33:41.261 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=90049356-f7e3-49c3-9eee-aacc85938c68] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:41.261 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:41.261 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=13.23µs] [2024/05/06 15:33:41.261 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=3.438µs] [2024/05/06 15:33:41.261 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=1.548µs] [2024/05/06 15:33:41.261 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=1.019µs] [2024/05/06 15:33:41.261 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:41.261 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=1.443µs] [2024/05/06 15:33:41.261 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:41.261 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:41.266 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=90049356-f7e3-49c3-9eee-aacc85938c68] ["take time"=5.80333ms] [2024/05/06 15:33:41.266 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=90049356-f7e3-49c3-9eee-aacc85938c68] [2024/05/06 15:33:41.266 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:41.266 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:41.266 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:41.266 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:41.266 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:41.266 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:41.266 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:41.267 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:41.267 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:41.267 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:41.267 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:41.267 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:41.267 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:41.267 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:41.267 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:41.267 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=6.155286ms] [2024/05/06 15:33:41.267 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=1cd3a45a-ef14-4148-ace6-d6af926b903d] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:41.273 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:41.273 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:41.290 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=16.171047ms] [2024/05/06 15:33:41.290 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:41.290 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] [runWorker=true] [2024/05/06 15:33:41.291 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:41.292 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:41.292 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:41.292 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:41.292 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:41.292 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:41.293 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:41.295 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:41.295 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:41.295 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:41.307 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:41.310 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:41.311 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:41.312 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:41.312 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:41.313 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:41.313 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:41.314 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:41.314 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:41.316 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:41.316 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=50] [cur_db=test] [sql="create table t (a int);"] [user=] [2024/05/06 15:33:41.319 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.319 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (a int);"] [2024/05/06 15:33:41.342 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:41.342 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:41.351 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=103] [conn=14] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.353 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=166.292µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[3]"] [2024/05/06 15:33:41.355 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=103] [version=51] [2024/05/06 15:33:41.355 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.086389ms] [job="ID:103, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.364 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=103] [conn=14] [job="ID:103, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.367 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 15:33:41.368 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:41.368 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=51] [cur_db=test] [sql="drop table t;"] [user=] [2024/05/06 15:33:41.371 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:104, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.371 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:104, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table t;"] [2024/05/06 15:33:41.379 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.379 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=104] [conn=14] [category=ddl] [job="ID:104, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.379 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.381 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=63.875µs] [gotSchemaVersion=52] [phyTblIDs="[102]"] [actionTypes="[4]"] [2024/05/06 15:33:41.383 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=52] [2024/05/06 15:33:41.384 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=3.135614ms] [job="ID:104, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.385 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.386 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=52] [cur_db=test] [sql="create table t (b int);"] [user=] [2024/05/06 15:33:41.389 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.389 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=104] [conn=14] [category=ddl] [job="ID:104, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.390 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:41.390 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:41.390 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (b int);"] [2024/05/06 15:33:41.395 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=67.643µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:41.396 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=53] [2024/05/06 15:33:42.322 +08:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 15:33:42.322 +08:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/06 15:33:42.327 +08:00] [INFO] [dispatcher_manager.go:293] ["cleanUp loop start"] [2024/05/06 15:33:42.327 +08:00] [INFO] [dispatcher_manager.go:156] ["dispatch task loop start"] [2024/05/06 15:33:42.327 +08:00] [INFO] [dispatcher_manager.go:243] ["subtask table gc loop start"] [2024/05/06 15:33:43.300 +08:00] [INFO] [info.go:1182] [SetTiFlashGroupConfig] [2024/05/06 15:33:43.395 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.000333874s] [job="ID:104, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.396 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.402 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.402 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [conn=15] [category=ddl] [job="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.403 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:106, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.405 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=191.567µs] [gotSchemaVersion=54] [phyTblIDs="[105]"] [actionTypes="[3]"] [2024/05/06 15:33:43.406 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=106] [version=54] [2024/05/06 15:33:43.407 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.097182ms] [job="ID:106, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.408 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:106, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.412 +08:00] [INFO] [callback.go:96] ["on job run before"] [job="ID:104, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.412 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=104] [conn=14] [category=ddl] [job="ID:104, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.413 +08:00] [INFO] [callback.go:111] ["on job run after"] [job="ID:104, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.415 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=64.965µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:43.416 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=55] [2024/05/06 15:33:43.449 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=106] [conn=15] [job="ID:106, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.452 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:106, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:41.388 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:43.892 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 15:33:43.892 +08:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [2024/05/06 15:33:45.416 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.001028466s] [job="ID:104, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.417 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.419 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=104] [elementID=1] [comment="table ID is 102"] [2024/05/06 15:33:45.421 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=104] [jobType="drop table"] [2024/05/06 15:33:45.421 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=104] [conn=14] [job="ID:104, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.423 +08:00] [INFO] [callback.go:122] ["on job updated"] [job="ID:104, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:41.369 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.424 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=104] [elementID=1] [startKey=748000000000000066] [endKey=748000000000000067] [2024/05/06 15:33:45.425 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/06 15:33:45.425 +08:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] ddl_api_test.go:214: Error Trace: pkg/ddl/ddl_api_test.go:214 Error: "449571933498638336" is not less than "449571932981952512" Test: TestCreateDropCreateTable Messages: second create should finish after drop [2024/05/06 15:33:45.428 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:45.428 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:45.428 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=16.973µs] [2024/05/06 15:33:45.428 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=3.665µs] [2024/05/06 15:33:45.428 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=8.539µs] [2024/05/06 15:33:45.428 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=2.771µs] [2024/05/06 15:33:45.428 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:45.428 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=1.087µs] [2024/05/06 15:33:45.428 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:45.428 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:45.431 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] ["take time"=2.233504ms] [2024/05/06 15:33:45.431 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] [2024/05/06 15:33:45.431 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:45.431 +08:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/06 15:33:45.431 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:45.431 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:45.431 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:45.431 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:45.431 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:45.431 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:45.431 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:45.431 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:45.431 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [domain.go:1521] ["stopping dist task dispatcher manager because the current node is not DDL owner anymore"] [id=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:45.431 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:45.432 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:45.432 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [dispatcher_manager.go:249] ["subtask history table gc loop exits"] [error="context canceled"] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [dispatcher_manager.go:299] ["cleanUp loop exits"] [error="context canceled"] [2024/05/06 15:33:45.432 +08:00] [INFO] [dispatcher_manager.go:162] ["dispatch task loop exits"] [error="context canceled"] [interval=3000] [2024/05/06 15:33:45.431 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1523] ["dist task dispatcher manager stopped"] [id=28b3f5ab-21cd-4728-ab2b-b2bbc44d6d3b] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:45.432 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:45.432 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=3.972676ms] [2024/05/06 15:33:45.433 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:45.433 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:45.433 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:45.433 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:45.433 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:45.433 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestCreateDropCreateTable (6.14s) === RUN TestAddIndexWithPK [2024/05/06 15:33:45.436 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:45.437 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.437 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.437 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.437 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.438 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.439 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=6676378d-34e1-4ea0-ae9e-b0d549dc782e] ["ddl lease"=600ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:45.446 +08:00] [WARN] [runaway.go:397] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 15:33:45.446 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:45.449 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.771114ms] [2024/05/06 15:33:45.449 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:45.449 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=e9561979-1308-4729-9e50-05f30405a860] [runWorker=true] [2024/05/06 15:33:45.449 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:45.449 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:45.449 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:45.449 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:45.449 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:45.449 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:45.449 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayRecordFlushLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:45.449 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:45.450 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:45.452 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:45.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.452 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:45.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:45.458 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.460 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:45.462 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.578585ms] [2024/05/06 15:33:45.462 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:45.463 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.464 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:45.466 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.703207ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:45.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.467 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:45.469 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.451 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.471 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:45.471 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.471 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:45.472 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchemaWithInfo\n\tpkg/ddl/ddl_api.go:222\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchema\n\tpkg/ddl/ddl_api.go:172\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateSchema\n\tpkg/ddl/schematracker/checker.go:171\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateDatabase\n\tpkg/executor/ddl.go:255\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:153\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2930\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=1] [2024/05/06 15:33:45.472 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:45.473 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:45.478 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.478 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:45.484 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.491 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:45.491 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=748.76µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:45.492 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.492 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:45.493 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=2.513702ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.494 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:45.497 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.502 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:45.503 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:45.503 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.503 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2934\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=2] [2024/05/06 15:33:45.503 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.504 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:45.506 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.506 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:45.511 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.513 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:45.514 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=193.483µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:45.515 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.515 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:45.516 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.414619ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.517 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:45.520 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.505 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.522 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:45.523 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:45.523 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.523 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2936\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=3] [2024/05/06 15:33:45.523 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.523 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:45.525 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.525 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:45.530 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.533 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:45.533 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=158.912µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:45.534 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.534 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:45.535 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.192734ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.536 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:45.538 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.541 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:45.541 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:45.541 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.541 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2938\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=4] [2024/05/06 15:33:45.542 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:45.545 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.545 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:45.549 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.553 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:45.554 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=526.033µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:45.555 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.555 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:45.555 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.10568ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.556 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:45.559 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.563 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:45.563 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:45.563 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.563 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2939\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=5] [2024/05/06 15:33:45.564 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:45.567 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.567 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:45.572 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.575 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:45.575 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=335.035µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:45.576 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.577 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:45.577 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.239431ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.578 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:45.581 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.565 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.584 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:45.585 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:45.585 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.585 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2940\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=6] [2024/05/06 15:33:45.585 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:45.588 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.588 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:45.592 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.595 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:45.596 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=269.574µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:45.597 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.597 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:45.598 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.550897ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.599 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:45.602 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.586 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.604 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:45.605 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:45.605 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.605 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2941\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=7] [2024/05/06 15:33:45.605 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:45.608 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.608 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:45.614 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.616 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:45.616 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=227.61µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:45.618 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.618 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:45.618 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.275423ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.619 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:45.622 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.607 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.625 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:45.625 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.625 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:45.625 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2943\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=8] [2024/05/06 15:33:45.625 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:45.628 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.628 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:45.634 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.636 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:45.636 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=206.668µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:45.637 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.637 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:45.638 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.25822ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.638 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:45.641 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.627 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.644 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:45.644 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:45.644 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.644 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2945\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=9] [2024/05/06 15:33:45.644 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:45.646 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.647 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:45.652 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.654 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:45.654 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=186.741µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:45.655 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.655 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:45.656 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.042167ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.656 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:45.661 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.645 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.663 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:45.663 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:45.663 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.663 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2947\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=10] [2024/05/06 15:33:45.663 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.663 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.663 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.664 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:45.666 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.665 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.666 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.665 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:45.671 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.665 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.674 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:45.675 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=311.346µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:45.676 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.676 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:45.677 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.477507ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.665 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.677 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:45.680 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.665 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.683 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:45.683 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:45.683 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.683 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2949\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=11] [2024/05/06 15:33:45.684 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:45.684 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:45.686 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.686 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:45.691 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.694 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:45.695 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=405.072µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:45.696 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.696 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:45.697 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.693274ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.698 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:45.701 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.685 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.704 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:45.704 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:45.704 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.705 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2951\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=12] [2024/05/06 15:33:45.705 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:45.708 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.706 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.708 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.706 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:45.713 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.706 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.716 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:45.716 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=357.782µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:45.718 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.718 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:45.718 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.535764ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.706 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.719 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:45.723 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.706 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.725 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:45.726 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:45.726 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.726 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2953\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=13] [2024/05/06 15:33:45.726 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:45.728 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.729 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:45.734 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.737 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:45.737 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=236.769µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:45.738 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.738 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:45.740 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.931985ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.741 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:45.744 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.727 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.746 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:45.746 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:45.746 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.747 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2955\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:45.747 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:45.749 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=14] [2024/05/06 15:33:45.750 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.750 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:45.755 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.758 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:45.758 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=229.159µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:45.759 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.759 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:45.760 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.820183ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.761 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:45.764 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.748 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.766 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:45.766 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:45.766 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.766 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2957\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=15] [2024/05/06 15:33:45.767 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:45.769 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.769 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:45.773 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.775 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:45.776 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=214.204µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:45.776 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.776 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:45.778 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.432281ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.778 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:45.781 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.768 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.783 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:45.784 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:45.784 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.784 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2960\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=16] [2024/05/06 15:33:45.784 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:45.787 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.787 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:45.792 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.794 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:45.794 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=274.046µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:45.795 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.795 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:45.797 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.891384ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.798 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:45.800 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.785 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.802 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:45.802 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.802 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:45.803 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2962\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=17] [2024/05/06 15:33:45.803 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:45.805 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.805 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:45.810 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.813 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:45.813 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=202.622µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:45.815 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.815 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:45.816 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.990874ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.817 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:45.820 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.823 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:45.823 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:45.823 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.823 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2964\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=18] [2024/05/06 15:33:45.824 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:45.827 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.827 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:45.831 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.835 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:45.835 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=442.584µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:45.837 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.837 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:45.837 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.535086ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.838 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:45.841 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.825 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.844 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:45.845 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:45.845 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.845 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.initBindInfoTable\n\tpkg/session/bootstrap.go:1961\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2966\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=19] [2024/05/06 15:33:45.845 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.845 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.845 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.845 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.845 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.845 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:45.846 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:45.848 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.848 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:45.853 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.855 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:45.855 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=187.472µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:45.856 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.856 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:45.858 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=3.072173ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.859 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:45.861 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.847 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.864 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:45.864 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:45.864 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.864 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2968\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=20] [2024/05/06 15:33:45.865 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:45.867 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.867 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:45.872 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.874 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:45.875 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=195.514µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:45.875 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.876 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:45.877 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.691997ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.878 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:45.881 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.866 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.884 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:45.884 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.884 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:45.884 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2970\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=21] [2024/05/06 15:33:45.885 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:45.887 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.887 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:45.894 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.896 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:45.896 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=174.725µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:45.897 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.897 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:45.898 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.998093ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.899 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:45.902 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.886 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.904 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:45.904 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.904 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:45.905 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2972\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=22] [2024/05/06 15:33:45.905 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:45.907 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.906 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.907 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.906 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:45.913 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.906 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.916 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:45.917 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=346.504µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:45.918 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.918 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:45.919 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.388998ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.906 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.920 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:45.923 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.906 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.926 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:45.926 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:45.926 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.926 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2974\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=23] [2024/05/06 15:33:45.927 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:45.929 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.929 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:45.934 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.936 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:45.937 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=268.693µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:45.938 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.938 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:45.938 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.156864ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.939 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:45.942 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.928 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.944 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:45.944 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:45.945 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.945 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2976\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=24] [2024/05/06 15:33:45.945 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:45.948 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.948 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:45.952 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.955 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:45.955 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=283.286µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:45.956 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.956 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:45.957 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.052829ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.957 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:45.960 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.946 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.962 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:45.963 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:45.963 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.963 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2978\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=25] [2024/05/06 15:33:45.963 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:45.965 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.965 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:45.971 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.974 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:45.974 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=250.295µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:45.975 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.975 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:45.976 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.123251ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.976 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:45.979 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.964 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.982 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:45.982 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:45.982 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:45.982 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2980\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=26] [2024/05/06 15:33:45.982 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:45.985 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:45.985 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:45.989 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.991 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:45.991 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=161.71µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:45.992 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:45.992 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:45.994 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.747561ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:45.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:45.995 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:45.998 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:45.983 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.000 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:46.000 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:46.000 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.000 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2982\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=27] [2024/05/06 15:33:46.001 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:46.003 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.003 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:46.009 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.012 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:46.012 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=264.729µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:46.013 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.013 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:46.014 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.419632ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.015 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:46.018 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.002 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.020 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:46.020 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:46.020 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.020 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2984\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=28] [2024/05/06 15:33:46.021 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:46.023 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.023 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:46.028 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.030 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:46.030 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=193.348µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:46.031 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.031 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:46.032 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.940375ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.033 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:46.036 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.022 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.038 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:46.038 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:46.038 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.039 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2986\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=29] [2024/05/06 15:33:46.039 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:46.039 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:46.041 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.041 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:46.046 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.048 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:46.048 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=245.987µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:46.049 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.049 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:46.049 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:46.050 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.013011ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.051 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:46.055 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.058 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:46.058 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:46.058 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.058 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2988\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=30] [2024/05/06 15:33:46.058 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:46.060 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.060 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:46.065 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.068 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:46.068 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=315.935µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:46.069 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.069 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:46.070 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.642417ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.071 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:46.074 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.059 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.076 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:46.076 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:46.076 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.076 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2990\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=31] [2024/05/06 15:33:46.077 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:46.080 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.080 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:46.085 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.087 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:46.087 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=232.109µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:46.088 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.088 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:46.090 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.667695ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.090 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:46.093 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.095 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:46.096 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:46.096 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.096 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2992\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=32] [2024/05/06 15:33:46.096 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:46.099 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.099 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:46.103 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.106 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:46.107 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=323.254µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:46.107 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.107 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:46.109 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.733967ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.109 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:46.112 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.114 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:46.115 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:46.115 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.115 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2994\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=33] [2024/05/06 15:33:46.115 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.115 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.115 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:46.117 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.116 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.117 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.116 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:46.123 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.116 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.125 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:46.126 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=232.479µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:46.126 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.126 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:46.127 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.145795ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.116 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.128 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:46.130 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.116 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.133 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:46.133 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:46.133 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.133 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2996\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=34] [2024/05/06 15:33:46.137 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:46.135 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.137 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:46.135 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:46.141 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.135 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.145 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:46.145 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=325.453µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:46.146 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.146 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:46.147 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.289176ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:46.135 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.147 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:46.150 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.135 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.152 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:46.153 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:46.153 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.153 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateView\n\tpkg/ddl/ddl_api.go:3046\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateView\n\tpkg/ddl/schematracker/checker.go:247\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateView\n\tpkg/executor/ddl.go:309\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:159\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:2998\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=35] [2024/05/06 15:33:46.153 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:46.156 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.156 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:46.161 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.163 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:46.163 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=220.174µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:46.164 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.164 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:46.165 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.120104ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.166 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:46.169 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.155 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.171 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:46.171 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:46.171 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.172 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3000\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=36] [2024/05/06 15:33:46.172 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.172 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.172 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:46.174 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.174 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:46.179 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.181 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:46.182 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=248.93µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:46.183 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.183 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:46.183 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.028904ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.184 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:46.186 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.188 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:46.189 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:46.189 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.189 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3002\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=37] [2024/05/06 15:33:46.189 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:46.191 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.191 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:46.197 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.199 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:46.200 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=246.906µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:46.201 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.201 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:46.201 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.018422ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.202 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:46.205 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.19 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.207 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:46.208 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:46.208 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.208 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3004\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=38] [2024/05/06 15:33:46.208 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:46.214 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.214 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:46.218 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.222 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:46.222 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=468.095µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:46.224 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.224 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:46.224 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.442016ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.225 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:46.229 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.212 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.233 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:46.233 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:46.233 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.233 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3006\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=39] [2024/05/06 15:33:46.233 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.234 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.234 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.234 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:46.237 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.235 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.237 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.235 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:46.241 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.235 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.244 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:46.245 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=414.414µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:46.246 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.246 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:46.246 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.013293ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.235 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.247 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:46.249 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.235 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.252 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:46.252 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:46.252 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.252 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3008\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=40] [2024/05/06 15:33:46.253 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.253 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:46.255 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.255 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:46.261 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.263 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:46.264 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=345.306µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:46.265 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.265 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:46.266 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.72669ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.267 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:46.270 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.254 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.273 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:46.274 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:46.274 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.274 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3010\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=41] [2024/05/06 15:33:46.274 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.274 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:46.277 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.277 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:46.281 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.284 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:46.285 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=338.937µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:46.286 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.286 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:46.287 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.323647ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.287 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:46.290 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.276 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.293 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:46.293 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:46.293 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.293 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3012\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=42] [2024/05/06 15:33:46.293 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:46.296 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.296 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:46.301 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.304 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:46.305 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=387.982µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:46.306 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.306 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:46.307 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.39357ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.308 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:46.311 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.295 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.313 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:46.313 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:46.313 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.313 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3014\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=43] [2024/05/06 15:33:46.314 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:46.316 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.316 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:46.321 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.324 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:46.325 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=374.377µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:46.326 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.326 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:46.326 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.160642ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.327 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:46.330 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.315 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.333 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:46.334 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:46.334 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.334 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3016\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=44] [2024/05/06 15:33:46.334 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.334 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.334 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.334 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.335 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:46.337 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.336 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.337 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.336 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:46.341 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.336 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.345 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:46.345 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=432.871µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:46.346 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.346 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:46.347 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.790482ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.336 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.348 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:46.349 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:46.351 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.336 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.353 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:46.354 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:46.354 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.354 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3018\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=45] [2024/05/06 15:33:46.354 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.354 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.354 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.354 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:46.357 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.357 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:46.361 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.364 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:46.364 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=296.175µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:46.365 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.365 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:46.367 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.624298ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.367 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:46.370 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.355 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.372 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:46.372 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:46.373 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.373 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3020\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=46] [2024/05/06 15:33:46.373 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.373 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:46.375 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.375 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:46.380 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.382 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:46.383 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=238.319µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:46.384 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.384 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:46.385 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.597808ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.386 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:46.389 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.374 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.391 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:46.392 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:46.392 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.392 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3022\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=47] [2024/05/06 15:33:46.392 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.392 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.392 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:46.395 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.395 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:46.400 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.404 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:46.405 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=527.352µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:46.406 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.406 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:46.407 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.328315ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.407 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:46.411 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.393 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.413 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:46.414 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:46.414 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.414 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3024\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=48] [2024/05/06 15:33:46.414 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:46.417 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.417 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:46.421 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.423 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:46.423 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=323.674µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:46.425 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.425 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:46.426 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.559522ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.426 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:46.429 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.415 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.431 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:46.432 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:46.432 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.432 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3026\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=49] [2024/05/06 15:33:46.432 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:46.432 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:46.434 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.434 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:46.439 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.442 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:46.442 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=253.637µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:46.443 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:46.443 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:46.444 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.410608ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.444 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:46.447 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.433 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.449 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:46.449 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:46.449 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.449 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1657\ngithub.com/pingcap/tidb/pkg/session.mustExecute\n\tpkg/session/bootstrap.go:3179\ngithub.com/pingcap/tidb/pkg/session.doDDLWorks\n\tpkg/session/bootstrap.go:3028\ngithub.com/pingcap/tidb/pkg/session.bootstrap\n\tpkg/session/bootstrap.go:720\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3535\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:46.449 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayWatchSyncLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:46.450 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:46.470 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=1.020958937s] [2024/05/06 15:33:46.470 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e9561979-1308-4729-9e50-05f30405a860] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:46.470 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:46.470 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=2.347µs] [2024/05/06 15:33:46.470 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=3.31µs] [2024/05/06 15:33:46.470 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=3.289µs] [2024/05/06 15:33:46.470 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=1.095µs] [2024/05/06 15:33:46.471 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:46.471 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=704ns] [2024/05/06 15:33:46.471 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:46.471 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:46.474 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=e9561979-1308-4729-9e50-05f30405a860] ["take time"=3.893148ms] [2024/05/06 15:33:46.474 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=e9561979-1308-4729-9e50-05f30405a860] [2024/05/06 15:33:46.474 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:46.474 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:46.474 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:46.474 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:46.474 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:46.474 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:46.474 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:46.474 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:46.474 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:46.474 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:46.474 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:46.475 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=4.122024ms] [2024/05/06 15:33:46.475 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=6676378d-34e1-4ea0-ae9e-b0d549dc782e] ["ddl lease"=600ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:46.481 +08:00] [WARN] [runaway.go:397] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 15:33:46.481 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.createSessionsImpl\n\tpkg/session/session.go:3561\ngithub.com/pingcap/tidb/pkg/session.createSessions\n\tpkg/session/session.go:3548\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3323\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:252\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:244\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK\n\tpkg/ddl/index_modify_test.go:631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=50] [2024/05/06 15:33:46.494 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=12.499265ms] [2024/05/06 15:33:46.494 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:46.494 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=5c784bd8-611a-4c88-a272-d71836c1c5c7] [runWorker=true] [2024/05/06 15:33:46.494 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:46.494 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:46.494 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:46.494 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:46.494 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:46.494 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:46.494 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayRecordFlushLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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/resourcegroup.(*RunawayManager).RunawayRecordChan\n\tpkg/domain/resourcegroup/runaway.go:394\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayRecordFlushLoop\n\tpkg/domain/runaway.go:224\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:46.494 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:46.496 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:46.496 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:46.496 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:46.504 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:46.506 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:46.507 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:46.508 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:46.508 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:46.509 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:46.509 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:46.509 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:46.509 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] === RUN TestAddIndexWithPK/ClusteredIndexDefModeIntOnly [2024/05/06 15:33:46.510 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=50] [cur_db=test] [sql="drop table if exists test_add_index_with_pk"] [user=] [2024/05/06 15:33:46.510 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=50] [cur_db=test] [sql="create table test_add_index_with_pk(a int not null, b int not null default '0', primary key(a))"] [user=] [2024/05/06 15:33:46.510 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:46.512 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.512 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table test_add_index_with_pk(a int not null, b int not null default '0', primary key(a))"] [2024/05/06 15:33:46.517 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=103] [conn=16] [category=ddl] [job="ID:103, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.519 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:46.519 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=165.778µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[3]"] [2024/05/06 15:33:46.520 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=103] [version=51] [2024/05/06 15:33:46.522 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.646576ms] [job="ID:103, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.522 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:46.525 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=103] [conn=16] [job="ID:103, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.511 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.527 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:46.527 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 15:33:46.527 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.527 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:654\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=51] [2024/05/06 15:33:46.528 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=51] [cur_db=test] [sql="alter table test_add_index_with_pk add index idx (a)"] [user=] [2024/05/06 15:33:46.530 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:104, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:46.530 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:104, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk add index idx (a)"] [2024/05/06 15:33:46.537 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.537 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 15:33:46.537 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:46.538 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:46.538 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=145.976µs] [gotSchemaVersion=52] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.539 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=52] [2024/05/06 15:33:46.540 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.14516ms] [job="ID:104, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.541 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=52] [2024/05/06 15:33:46.545 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.547 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=53] [2024/05/06 15:33:46.547 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=154.63µs] [gotSchemaVersion=53] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.548 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=53] [2024/05/06 15:33:46.549 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.26639ms] [job="ID:104, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.549 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=53] [2024/05/06 15:33:46.553 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.554 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:46.554 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=147.279µs] [gotSchemaVersion=54] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.555 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=54] [2024/05/06 15:33:46.556 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.174417ms] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.557 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:46.560 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.561 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=104] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:46.561 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=104] [physicalTableID=102] [startKey=7480000000000000665f728000000000000001] [endKey=7480000000000000665f72800000000000000100] [2024/05/06 15:33:46.564 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:46.564 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=54] [2024/05/06 15:33:46.568 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933798006784, UniqueWarnings:0"] [2024/05/06 15:33:46.568 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=104] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:46.570 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933798006784, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000665f728000000000000001,EndKey:7480000000000000665f72800000000000000100,First:false,PhysicalTableID:102,Ingest mode:false"] [2024/05/06 15:33:46.570 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=102] ["start key"=7480000000000000665f728000000000000001] ["end key"=7480000000000000665f72800000000000000100] [2024/05/06 15:33:46.570 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:46.570 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000665f728000000000000001] [endKey=7480000000000000665f72800000000000000100] [2024/05/06 15:33:46.570 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:46.570 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:46.570 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:46.571 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=102] ["end key"=7480000000000000665f72800000000000000100] ["current end key"=7480000000000000665f72800000000000000100] [2024/05/06 15:33:46.571 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:46.571 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:46.571 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:46.571 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 102, range: [7480000000000000665f728000000000000001, 7480000000000000665f72800000000000000100), jobID: 104"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000665f72800000000000000100] ["take time"=339.017µs] [2024/05/06 15:33:46.571 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:46.572 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000665f728000000000000001] [2024/05/06 15:33:46.573 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:46.610 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:46.611 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=144.921µs] [gotSchemaVersion=55] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.611 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=55] [2024/05/06 15:33:46.613 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.822793ms] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933798006784, UniqueWarnings:0"] [2024/05/06 15:33:46.614 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=55] [2024/05/06 15:33:46.618 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933798006784, UniqueWarnings:0"] [2024/05/06 15:33:46.618 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=104] [table=test_add_index_with_pk] [index=idx] [2024/05/06 15:33:46.619 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:46.620 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=155.297µs] [gotSchemaVersion=56] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.620 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=56] [2024/05/06 15:33:46.622 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.311002ms] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.622 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:46.626 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.626 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=104] [physicalTableID=102] [startKey=7480000000000000665f69ffff000000000001] [endKey=7480000000000000665f69ffff000000000001ff] [2024/05/06 15:33:46.629 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:46.629 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=56] [2024/05/06 15:33:46.633 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=104] [conn=16] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933815046145, UniqueWarnings:0"] [2024/05/06 15:33:46.635 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:104, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933815046145, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000665f69ffff000000000001,EndKey:7480000000000000665f69ffff000000000001ff,First:false,PhysicalTableID:102,Ingest mode:false"] [2024/05/06 15:33:46.635 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=102] ["start key"=7480000000000000665f69ffff000000000001] ["end key"=7480000000000000665f69ffff000000000001ff] [2024/05/06 15:33:46.635 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000665f69ffff000000000001] [endKey=7480000000000000665f69ffff000000000001ff] [2024/05/06 15:33:46.635 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:46.635 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:46.635 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:46.636 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:46.636 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=102] ["end key"=7480000000000000665f69ffff000000000001ff] ["current end key"=7480000000000000665f69ffff00000000000100] [2024/05/06 15:33:46.636 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:46.636 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:46.636 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:46.636 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [task="taskID: 1, physicalTableID: 102, range: [7480000000000000665f69ffff000000000001, 7480000000000000665f69ffff00000000000100), jobID: 104"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000665f69ffff0000000000010000] ["take time"=85.3µs] [2024/05/06 15:33:46.636 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:46.638 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000665f69ffff000000000001] [2024/05/06 15:33:46.638 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:46.687 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:46.688 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:46.688 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=144.41µs] [gotSchemaVersion=57] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.689 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=104] [version=57] [2024/05/06 15:33:46.690 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.172381ms] [job="ID:104, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933815046145, UniqueWarnings:0"] [2024/05/06 15:33:46.691 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:46.695 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=104] [elementID=1] [comment="physical ID is 102"] [2024/05/06 15:33:46.696 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=104] [jobType="add index"] [2024/05/06 15:33:46.697 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=104] [conn=16] [job="ID:104, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:46.529 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933815046145, UniqueWarnings:0"] [2024/05/06 15:33:46.699 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:46.699 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=104] [elementID=1] [startKey=7480000000000000665f69ffff000000000001] [endKey=7480000000000000665f69ffff000000000002] [2024/05/06 15:33:46.701 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/06 15:33:46.701 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.701 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:656\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=57] [2024/05/06 15:33:46.703 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=57] [cur_db=test] [sql="alter table test_add_index_with_pk add index idx1 (a, b)"] [user=] [2024/05/06 15:33:46.704 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:46.704 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:105, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk add index idx1 (a, b)"] [2024/05/06 15:33:46.710 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.710 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"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/06 15:33:46.710 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:46.712 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=58] [2024/05/06 15:33:46.712 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=186.774µs] [gotSchemaVersion=58] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.713 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=58] [2024/05/06 15:33:46.715 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.69367ms] [job="ID:105, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.715 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=58] [2024/05/06 15:33:46.719 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.721 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=59] [2024/05/06 15:33:46.721 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=178.72µs] [gotSchemaVersion=59] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.722 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=59] [2024/05/06 15:33:46.723 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.150691ms] [job="ID:105, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.724 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=59] [2024/05/06 15:33:46.728 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.729 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:46.730 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=193.002µs] [gotSchemaVersion=60] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.731 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=60] [2024/05/06 15:33:46.732 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.58984ms] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.733 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:46.737 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.737 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=105] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx1] [2024/05/06 15:33:46.737 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=105] [physicalTableID=102] [startKey=7480000000000000665f728000000000000001] [endKey=7480000000000000665f72800000000000000200] [2024/05/06 15:33:46.740 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:46.740 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:46.744 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933844144129, UniqueWarnings:0"] [2024/05/06 15:33:46.744 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=105] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx1] [2024/05/06 15:33:46.746 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933844144129, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000665f728000000000000001,EndKey:7480000000000000665f72800000000000000200,First:false,PhysicalTableID:102,Ingest mode:false"] [2024/05/06 15:33:46.746 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=102] ["start key"=7480000000000000665f728000000000000001] ["end key"=7480000000000000665f72800000000000000200] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000665f728000000000000001] [endKey=7480000000000000665f72800000000000000200] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=102] ["end key"=7480000000000000665f72800000000000000200] ["current end key"=7480000000000000665f72800000000000000200] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 102, range: [7480000000000000665f728000000000000001, 7480000000000000665f72800000000000000200), jobID: 105"] ["added count"=2] ["scan count"=2] ["next key"=7480000000000000665f72800000000000000200] ["take time"=318.121µs] [2024/05/06 15:33:46.747 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:46.749 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=2] ["start key"=7480000000000000665f728000000000000001] [2024/05/06 15:33:46.749 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=2] [2024/05/06 15:33:46.794 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=60] [2024/05/06 15:33:46.796 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=61] [2024/05/06 15:33:46.797 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=227.377µs] [gotSchemaVersion=61] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.798 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=61] [2024/05/06 15:33:46.800 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=4.729051ms] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:2, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933844144129, UniqueWarnings:0"] [2024/05/06 15:33:46.801 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=61] [2024/05/06 15:33:46.805 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:2, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933844144129, UniqueWarnings:0"] [2024/05/06 15:33:46.805 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=105] [table=test_add_index_with_pk] [index=idx1] [2024/05/06 15:33:46.806 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:46.807 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=171.195µs] [gotSchemaVersion=62] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.807 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=62] [2024/05/06 15:33:46.809 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=2.500303ms] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:2, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.810 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:46.813 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:2, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.813 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=105] [physicalTableID=102] [startKey=7480000000000000665f69ffff000000000002] [endKey=7480000000000000665f69ffff000000000002ff] [2024/05/06 15:33:46.816 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:46.816 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=62] [2024/05/06 15:33:46.819 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=105] [conn=16] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:2, ArgLen:0, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933864067073, UniqueWarnings:0"] [2024/05/06 15:33:46.821 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:105, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:102, RowCount:2, ArgLen:6, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933864067073, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000665f69ffff000000000002,EndKey:7480000000000000665f69ffff000000000002ff,First:false,PhysicalTableID:102,Ingest mode:false"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=102] ["start key"=7480000000000000665f69ffff000000000002] ["end key"=7480000000000000665f69ffff000000000002ff] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000665f69ffff000000000002] [endKey=7480000000000000665f69ffff000000000002ff] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=102] ["end key"=7480000000000000665f69ffff000000000002ff] ["current end key"=7480000000000000665f69ffff00000000000200] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 102, range: [7480000000000000665f69ffff000000000002, 7480000000000000665f69ffff00000000000200), jobID: 105"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000665f69ffff0000000000020000] ["take time"=82.984µs] [2024/05/06 15:33:46.822 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:46.824 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=2] ["start key"=7480000000000000665f69ffff000000000002] [2024/05/06 15:33:46.824 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=2] [2024/05/06 15:33:46.859 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:46.861 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:46.861 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=181.776µs] [gotSchemaVersion=63] [phyTblIDs="[102]"] [actionTypes="[7]"] [2024/05/06 15:33:46.862 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=105] [version=63] [2024/05/06 15:33:46.863 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=2.319545ms] [job="ID:105, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:102, RowCount:2, ArgLen:3, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933864067073, UniqueWarnings:0"] [2024/05/06 15:33:46.864 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:46.867 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=105] [elementID=1] [comment="physical ID is 102"] [2024/05/06 15:33:46.868 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=105] [jobType="add index"] [2024/05/06 15:33:46.868 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=105] [conn=16] [job="ID:105, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:102, RowCount:2, ArgLen:3, start time: 2024-05-06 15:33:46.703 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933864067073, UniqueWarnings:0"] [2024/05/06 15:33:46.870 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=105] [elementID=1] [startKey=7480000000000000665f69ffff000000000002] [endKey=7480000000000000665f69ffff000000000003] [2024/05/06 15:33:46.870 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:46.873 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 15:33:46.873 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.873 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:659\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=63] [2024/05/06 15:33:46.874 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=63] [cur_db=test] [sql="drop table if exists test_add_index_with_pk1"] [user=] [2024/05/06 15:33:46.874 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=63] [cur_db=test] [sql="create table test_add_index_with_pk1(a int not null, b int not null default '0', c int, d int, primary key(c))"] [user=] [2024/05/06 15:33:46.876 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:46.876 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table test_add_index_with_pk1(a int not null, b int not null default '0', c int, d int, primary key(c))"] [2024/05/06 15:33:46.880 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=16] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.882 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=64] [2024/05/06 15:33:46.882 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=211.063µs] [gotSchemaVersion=64] [phyTblIDs="[106]"] [actionTypes="[3]"] [2024/05/06 15:33:46.883 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=107] [version=64] [2024/05/06 15:33:46.884 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=2.406089ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:46.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.885 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=64] [2024/05/06 15:33:46.888 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=107] [conn=16] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.875 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:46.890 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=64] [2024/05/06 15:33:46.890 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 15:33:46.890 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:46.890 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:662\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=64] [2024/05/06 15:33:46.891 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=64] [cur_db=test] [sql="alter table test_add_index_with_pk1 add index idx (c)"] [user=] [2024/05/06 15:33:46.892 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:46.892 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk1 add index idx (c)"] [2024/05/06 15:33:46.898 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.898 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 15:33:46.898 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:46.900 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=65] [2024/05/06 15:33:46.900 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=220.974µs] [gotSchemaVersion=65] [phyTblIDs="[106]"] [actionTypes="[7]"] [2024/05/06 15:33:46.901 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=65] [2024/05/06 15:33:46.903 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=2.840941ms] [job="ID:108, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.903 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=65] [2024/05/06 15:33:46.907 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.909 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=66] [2024/05/06 15:33:46.909 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=234.727µs] [gotSchemaVersion=66] [phyTblIDs="[106]"] [actionTypes="[7]"] [2024/05/06 15:33:46.910 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=66] [2024/05/06 15:33:46.911 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=2.486716ms] [job="ID:108, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.912 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=66] [2024/05/06 15:33:46.915 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.917 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=67] [2024/05/06 15:33:46.918 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=235.74µs] [gotSchemaVersion=67] [phyTblIDs="[106]"] [actionTypes="[7]"] [2024/05/06 15:33:46.919 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=67] [2024/05/06 15:33:46.920 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=2.388055ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.920 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=67] [2024/05/06 15:33:46.924 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.924 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=test_add_index_with_pk1] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:46.925 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=106] [startKey=74800000000000006a5f728000000000000001] [endKey=74800000000000006a5f72800000000000000100] [2024/05/06 15:33:46.927 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:46.927 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=67] [2024/05/06 15:33:46.931 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933893165057, UniqueWarnings:0"] [2024/05/06 15:33:46.931 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=108] [table=test_add_index_with_pk1] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:46.933 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933893165057, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006a5f728000000000000001,EndKey:74800000000000006a5f72800000000000000100,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f728000000000000001] ["end key"=74800000000000006a5f72800000000000000100] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f728000000000000001] [endKey=74800000000000006a5f72800000000000000100] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f72800000000000000100] ["current end key"=74800000000000006a5f72800000000000000100] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:46.934 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:46.935 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 106, range: [74800000000000006a5f728000000000000001, 74800000000000006a5f72800000000000000100), jobID: 108"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000006a5f72800000000000000100] ["take time"=353.031µs] [2024/05/06 15:33:46.935 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:46.936 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=74800000000000006a5f728000000000000001] [2024/05/06 15:33:46.936 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:46.981 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=68] [2024/05/06 15:33:46.982 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=190.454µs] [gotSchemaVersion=68] [phyTblIDs="[106]"] [actionTypes="[7]"] [2024/05/06 15:33:46.982 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=68] [2024/05/06 15:33:46.983 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=2.2737ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933893165057, UniqueWarnings:0"] [2024/05/06 15:33:46.984 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=68] [2024/05/06 15:33:46.988 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933893165057, UniqueWarnings:0"] [2024/05/06 15:33:46.989 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=108] [table=test_add_index_with_pk1] [index=idx] [2024/05/06 15:33:46.991 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=69] [2024/05/06 15:33:46.991 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=179.013µs] [gotSchemaVersion=69] [phyTblIDs="[106]"] [actionTypes="[7]"] [2024/05/06 15:33:46.992 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=69] [2024/05/06 15:33:46.993 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=2.675694ms] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.994 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=69] [2024/05/06 15:33:46.998 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:46.998 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=108] [physicalTableID=106] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [2024/05/06 15:33:47.003 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.003 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=69] [2024/05/06 15:33:47.008 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=108] [conn=16] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933912563713, UniqueWarnings:0"] [2024/05/06 15:33:47.009 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:108, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:106, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933912563713, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006a5f69ffff000000000001,EndKey:74800000000000006a5f69ffff000000000001ff,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f69ffff000000000001] ["end key"=74800000000000006a5f69ffff000000000001ff] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f69ffff000000000001ff] ["current end key"=74800000000000006a5f69ffff00000000000100] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:321] ["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"=100.898µs] [2024/05/06 15:33:47.010 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.012 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=74800000000000006a5f69ffff000000000001] [2024/05/06 15:33:47.012 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.060 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:47.062 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=70] [2024/05/06 15:33:47.062 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=243.303µs] [gotSchemaVersion=70] [phyTblIDs="[106]"] [actionTypes="[7]"] [2024/05/06 15:33:47.063 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=70] [2024/05/06 15:33:47.065 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=3.003072ms] [job="ID:108, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933912563713, UniqueWarnings:0"] [2024/05/06 15:33:47.065 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=70] [2024/05/06 15:33:47.069 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=108] [elementID=1] [comment="physical ID is 106"] [2024/05/06 15:33:47.070 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="add index"] [2024/05/06 15:33:47.070 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=108] [conn=16] [job="ID:108, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:46.891 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933912563713, UniqueWarnings:0"] [2024/05/06 15:33:47.073 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=108] [elementID=1] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000002] [2024/05/06 15:33:47.073 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=70] [2024/05/06 15:33:47.075 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 15:33:47.075 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.075 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:664\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=70] [2024/05/06 15:33:47.077 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=70] [cur_db=test] [sql="drop table if exists test_add_index_with_pk2"] [user=] [2024/05/06 15:33:47.077 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=70] [cur_db=test] [sql="create table test_add_index_with_pk2(a int not null, b int not null default '0', c int unsigned, d int, primary key(c))"] [user=] [2024/05/06 15:33:47.079 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:47.079 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table test_add_index_with_pk2(a int not null, b int not null default '0', c int unsigned, d int, primary key(c))"] [2024/05/06 15:33:47.083 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=110] [conn=16] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.085 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=71] [2024/05/06 15:33:47.085 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=195.242µs] [gotSchemaVersion=71] [phyTblIDs="[109]"] [actionTypes="[3]"] [2024/05/06 15:33:47.086 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=110] [version=71] [2024/05/06 15:33:47.087 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=2.051076ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.087 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=71] [2024/05/06 15:33:47.090 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=110] [conn=16] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.078 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.093 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 15:33:47.093 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.093 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=71] [2024/05/06 15:33:47.093 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:668\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=71] [2024/05/06 15:33:47.094 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=71] [cur_db=test] [sql="alter table test_add_index_with_pk2 add index idx (c)"] [user=] [2024/05/06 15:33:47.094 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=71] [2024/05/06 15:33:47.095 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:47.095 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:111, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk2 add index idx (c)"] [2024/05/06 15:33:47.102 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.102 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 15:33:47.102 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:47.104 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=72] [2024/05/06 15:33:47.104 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=176.76µs] [gotSchemaVersion=72] [phyTblIDs="[109]"] [actionTypes="[7]"] [2024/05/06 15:33:47.105 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=111] [version=72] [2024/05/06 15:33:47.106 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=2.756641ms] [job="ID:111, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.107 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=72] [2024/05/06 15:33:47.111 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.113 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=73] [2024/05/06 15:33:47.114 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=214.111µs] [gotSchemaVersion=73] [phyTblIDs="[109]"] [actionTypes="[7]"] [2024/05/06 15:33:47.115 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=111] [version=73] [2024/05/06 15:33:47.116 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=2.514439ms] [job="ID:111, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.117 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=73] [2024/05/06 15:33:47.120 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.122 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=74] [2024/05/06 15:33:47.122 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=167.283µs] [gotSchemaVersion=74] [phyTblIDs="[109]"] [actionTypes="[7]"] [2024/05/06 15:33:47.123 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=111] [version=74] [2024/05/06 15:33:47.124 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=2.376175ms] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.125 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=74] [2024/05/06 15:33:47.129 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.129 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=111] [table=test_add_index_with_pk2] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.129 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=111] [physicalTableID=109] [startKey=74800000000000006d5f728000000000000001] [endKey=74800000000000006d5f72800000000000000100] [2024/05/06 15:33:47.132 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.132 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=74] [2024/05/06 15:33:47.136 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933946904577, UniqueWarnings:0"] [2024/05/06 15:33:47.136 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=111] [table=test_add_index_with_pk2] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.137 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933946904577, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006d5f728000000000000001,EndKey:74800000000000006d5f72800000000000000100,First:false,PhysicalTableID:109,Ingest mode:false"] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=109] ["start key"=74800000000000006d5f728000000000000001] ["end key"=74800000000000006d5f72800000000000000100] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006d5f728000000000000001] [endKey=74800000000000006d5f72800000000000000100] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=109] ["end key"=74800000000000006d5f72800000000000000100] ["current end key"=74800000000000006d5f72800000000000000100] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.138 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.139 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp add index"] [task="taskID: 1, physicalTableID: 109, range: [74800000000000006d5f728000000000000001, 74800000000000006d5f72800000000000000100), jobID: 111"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000006d5f72800000000000000100] ["take time"=346.027µs] [2024/05/06 15:33:47.139 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.140 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=74800000000000006d5f728000000000000001] [2024/05/06 15:33:47.140 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.180 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=75] [2024/05/06 15:33:47.180 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=182.471µs] [gotSchemaVersion=75] [phyTblIDs="[109]"] [actionTypes="[7]"] [2024/05/06 15:33:47.181 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=111] [version=75] [2024/05/06 15:33:47.182 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=2.161056ms] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933946904577, UniqueWarnings:0"] [2024/05/06 15:33:47.183 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=75] [2024/05/06 15:33:47.186 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933946904577, UniqueWarnings:0"] [2024/05/06 15:33:47.187 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=111] [table=test_add_index_with_pk2] [index=idx] [2024/05/06 15:33:47.188 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=76] [2024/05/06 15:33:47.188 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=158.005µs] [gotSchemaVersion=76] [phyTblIDs="[109]"] [actionTypes="[7]"] [2024/05/06 15:33:47.189 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=111] [version=76] [2024/05/06 15:33:47.190 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=2.096843ms] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.191 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=76] [2024/05/06 15:33:47.195 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.195 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=111] [physicalTableID=109] [startKey=74800000000000006d5f69ffff000000000001] [endKey=74800000000000006d5f69ffff000000000001ff] [2024/05/06 15:33:47.198 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.198 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=76] [2024/05/06 15:33:47.201 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=111] [conn=16] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933964206081, UniqueWarnings:0"] [2024/05/06 15:33:47.203 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:111, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:109, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933964206081, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006d5f69ffff000000000001,EndKey:74800000000000006d5f69ffff000000000001ff,First:false,PhysicalTableID:109,Ingest mode:false"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=109] ["start key"=74800000000000006d5f69ffff000000000001] ["end key"=74800000000000006d5f69ffff000000000001ff] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006d5f69ffff000000000001] [endKey=74800000000000006d5f69ffff000000000001ff] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=109] ["end key"=74800000000000006d5f69ffff000000000001ff] ["current end key"=74800000000000006d5f69ffff00000000000100] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 109, range: [74800000000000006d5f69ffff000000000001, 74800000000000006d5f69ffff00000000000100), jobID: 111"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006d5f69ffff0000000000010000] ["take time"=60.377µs] [2024/05/06 15:33:47.204 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.206 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=74800000000000006d5f69ffff000000000001] [2024/05/06 15:33:47.206 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.243 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:47.244 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=77] [2024/05/06 15:33:47.245 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=186.083µs] [gotSchemaVersion=77] [phyTblIDs="[109]"] [actionTypes="[7]"] [2024/05/06 15:33:47.246 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=111] [version=77] [2024/05/06 15:33:47.246 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=2.059939ms] [job="ID:111, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933964206081, UniqueWarnings:0"] [2024/05/06 15:33:47.247 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=77] [2024/05/06 15:33:47.251 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=111] [elementID=1] [comment="physical ID is 109"] [2024/05/06 15:33:47.252 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="add index"] [2024/05/06 15:33:47.252 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=111] [conn=16] [job="ID:111, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.095 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933964206081, UniqueWarnings:0"] [2024/05/06 15:33:47.254 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=111] [elementID=1] [startKey=74800000000000006d5f69ffff000000000001] [endKey=74800000000000006d5f69ffff000000000002] [2024/05/06 15:33:47.255 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=77] [2024/05/06 15:33:47.256 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/06 15:33:47.256 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.256 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=77] [2024/05/06 15:33:47.258 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=77] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/06 15:33:47.258 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=77] [cur_db=test] [sql="create table t (a int, b int, c int, primary key(a, b));"] [user=] [2024/05/06 15:33:47.260 +08:00] [INFO] [ddl_worker.go:253] ["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-06 15:33:47.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:47.260 +08:00] [INFO] [ddl.go:1067] ["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-06 15:33:47.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (a int, b int, c int, primary key(a, b));"] [2024/05/06 15:33:47.263 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=113] [conn=16] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.265 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=78] [2024/05/06 15:33:47.265 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=145.55µs] [gotSchemaVersion=78] [phyTblIDs="[112]"] [actionTypes="[3]"] [2024/05/06 15:33:47.266 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=113] [version=78] [2024/05/06 15:33:47.268 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=2.75435ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.268 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=78] [2024/05/06 15:33:47.271 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=113] [conn=16] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.259 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.272 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=78] [2024/05/06 15:33:47.272 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/06 15:33:47.273 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.273 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:674\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=78] [2024/05/06 15:33:47.273 +08:00] [WARN] [2pc.go:1803] ["schemaLeaseChecker is not set for this transaction"] [sessionID=16] [startTS=449571933984653315] [checkTS=449571933984653316] [2024/05/06 15:33:47.274 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=78] [cur_db=test] [sql="create index idx on t (a, b);"] [user=] [2024/05/06 15:33:47.275 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:47.275 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="create index idx on t (a, b);"] [2024/05/06 15:33:47.280 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.280 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"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/06 15:33:47.280 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:47.281 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=79] [2024/05/06 15:33:47.281 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=165.523µs] [gotSchemaVersion=79] [phyTblIDs="[112]"] [actionTypes="[7]"] [2024/05/06 15:33:47.282 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=114] [version=79] [2024/05/06 15:33:47.284 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=2.811524ms] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.285 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=79] [2024/05/06 15:33:47.288 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.289 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=80] [2024/05/06 15:33:47.290 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=153.178µs] [gotSchemaVersion=80] [phyTblIDs="[112]"] [actionTypes="[7]"] [2024/05/06 15:33:47.290 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=114] [version=80] [2024/05/06 15:33:47.291 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=2.193903ms] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.292 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=80] [2024/05/06 15:33:47.295 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.297 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=81] [2024/05/06 15:33:47.297 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=166.129µs] [gotSchemaVersion=81] [phyTblIDs="[112]"] [actionTypes="[7]"] [2024/05/06 15:33:47.298 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=114] [version=81] [2024/05/06 15:33:47.299 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=2.315687ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.300 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=81] [2024/05/06 15:33:47.303 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.303 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.303 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000100] [2024/05/06 15:33:47.305 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.306 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=81] [2024/05/06 15:33:47.309 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933992517633, UniqueWarnings:0"] [2024/05/06 15:33:47.309 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.310 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933992517633, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000705f728000000000000001,EndKey:7480000000000000705f72800000000000000100,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f728000000000000001] ["end key"=7480000000000000705f72800000000000000100] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f72800000000000000100] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f72800000000000000100] ["current end key"=7480000000000000705f72800000000000000100] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f728000000000000001, 7480000000000000705f72800000000000000100), jobID: 114"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000705f72800000000000000100] ["take time"=299.853µs] [2024/05/06 15:33:47.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.313 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000705f728000000000000001] [2024/05/06 15:33:47.313 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.347 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=82] [2024/05/06 15:33:47.347 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=185.26µs] [gotSchemaVersion=82] [phyTblIDs="[112]"] [actionTypes="[7]"] [2024/05/06 15:33:47.348 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=114] [version=82] [2024/05/06 15:33:47.349 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=2.139222ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933992517633, UniqueWarnings:0"] [2024/05/06 15:33:47.350 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=82] [2024/05/06 15:33:47.353 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571933992517633, UniqueWarnings:0"] [2024/05/06 15:33:47.353 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=114] [table=t] [index=idx] [2024/05/06 15:33:47.355 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=83] [2024/05/06 15:33:47.355 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=199.235µs] [gotSchemaVersion=83] [phyTblIDs="[112]"] [actionTypes="[7]"] [2024/05/06 15:33:47.356 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=114] [version=83] [2024/05/06 15:33:47.357 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=2.009097ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.357 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=83] [2024/05/06 15:33:47.361 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.361 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=112] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000002ff] [2024/05/06 15:33:47.363 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.364 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=83] [2024/05/06 15:33:47.367 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=114] [conn=16] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934007721985, UniqueWarnings:0"] [2024/05/06 15:33:47.368 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934007721985, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000705f69ffff000000000002,EndKey:7480000000000000705f69ffff000000000002ff,First:false,PhysicalTableID:112,Ingest mode:false"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=112] ["start key"=7480000000000000705f69ffff000000000002] ["end key"=7480000000000000705f69ffff000000000002ff] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000002ff] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=112] ["end key"=7480000000000000705f69ffff000000000002ff] ["current end key"=7480000000000000705f69ffff00000000000200] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 112, range: [7480000000000000705f69ffff000000000002, 7480000000000000705f69ffff00000000000200), jobID: 114"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000705f69ffff0000000000020000] ["take time"=93.465µs] [2024/05/06 15:33:47.369 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.371 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000705f69ffff000000000002] [2024/05/06 15:33:47.371 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.394 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=83] [2024/05/06 15:33:47.407 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:47.409 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=84] [2024/05/06 15:33:47.409 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=259.951µs] [gotSchemaVersion=84] [phyTblIDs="[112]"] [actionTypes="[7]"] [2024/05/06 15:33:47.410 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=114] [version=84] [2024/05/06 15:33:47.411 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=2.124161ms] [job="ID:114, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934007721985, UniqueWarnings:0"] [2024/05/06 15:33:47.412 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=84] [2024/05/06 15:33:47.415 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=114] [elementID=1] [comment="physical ID is 112"] [2024/05/06 15:33:47.416 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="add index"] [2024/05/06 15:33:47.416 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=114] [conn=16] [job="ID:114, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.274 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934007721985, UniqueWarnings:0"] [2024/05/06 15:33:47.418 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=114] [elementID=1] [startKey=7480000000000000705f69ffff000000000002] [endKey=7480000000000000705f69ffff000000000003] [2024/05/06 15:33:47.418 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=84] [2024/05/06 15:33:47.420 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 15:33:47.420 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.420 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7240\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateIndex\n\tpkg/ddl/schematracker/checker.go:302\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:317\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:151\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:676\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=84] === RUN TestAddIndexWithPK/ClusteredIndexDefModeOn [2024/05/06 15:33:47.421 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=84] [cur_db=test] [sql="drop table if exists test_add_index_with_pk"] [user=] [2024/05/06 15:33:47.422 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:47.422 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table if exists test_add_index_with_pk"] [2024/05/06 15:33:47.425 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=115] [conn=16] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.427 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=85] [2024/05/06 15:33:47.427 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=40.456µs] [gotSchemaVersion=85] [phyTblIDs="[102]"] [actionTypes="[4]"] [2024/05/06 15:33:47.428 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=115] [version=85] [2024/05/06 15:33:47.429 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=2.112984ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.430 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=85] [2024/05/06 15:33:47.431 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=115] [conn=16] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.433 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=86] [2024/05/06 15:33:47.433 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=35.745µs] [gotSchemaVersion=86] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:47.433 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=115] [version=86] [2024/05/06 15:33:47.436 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=2.922276ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.436 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=86] [2024/05/06 15:33:47.438 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=115] [conn=16] [category=ddl] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.439 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=87] [2024/05/06 15:33:47.440 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=38.341µs] [gotSchemaVersion=87] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:47.440 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=115] [version=87] [2024/05/06 15:33:47.442 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=2.479023ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.442 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=87] [2024/05/06 15:33:47.444 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=115] [elementID=1] [comment="table ID is 102"] [2024/05/06 15:33:47.445 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2024/05/06 15:33:47.445 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=115] [conn=16] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:47.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.447 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=87] [2024/05/06 15:33:47.448 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=115] [elementID=1] [startKey=748000000000000066] [endKey=748000000000000067] [2024/05/06 15:33:47.449 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/06 15:33:47.449 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.449 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropTableObject\n\tpkg/ddl/ddl_api.go:6717\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropTable\n\tpkg/ddl/ddl_api.go:6750\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).DropTable\n\tpkg/ddl/schematracker/checker.go:262\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropTable\n\tpkg/executor/ddl.go:346\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:168\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:653\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=87] [2024/05/06 15:33:47.449 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=87] [cur_db=test] [sql="create table test_add_index_with_pk(a int not null, b int not null default '0', primary key(a))"] [user=] [2024/05/06 15:33:47.451 +08:00] [INFO] [ddl_worker.go:253] ["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-06 15:33:47.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:47.451 +08:00] [INFO] [ddl.go:1067] ["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-06 15:33:47.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table test_add_index_with_pk(a int not null, b int not null default '0', primary key(a))"] [2024/05/06 15:33:47.455 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=16] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.457 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=88] [2024/05/06 15:33:47.457 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=127.991µs] [gotSchemaVersion=88] [phyTblIDs="[116]"] [actionTypes="[3]"] [2024/05/06 15:33:47.458 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=117] [version=88] [2024/05/06 15:33:47.459 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=2.671767ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.460 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=88] [2024/05/06 15:33:47.462 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=16] [job="ID:117, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.45 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.464 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/06 15:33:47.464 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.464 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=88] [2024/05/06 15:33:47.464 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:654\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=88] [2024/05/06 15:33:47.465 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=88] [cur_db=test] [sql="alter table test_add_index_with_pk add index idx (a)"] [user=] [2024/05/06 15:33:47.467 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:47.467 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:118, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk add index idx (a)"] [2024/05/06 15:33:47.470 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.470 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 15:33:47.470 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:47.472 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=89] [2024/05/06 15:33:47.472 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=137.155µs] [gotSchemaVersion=89] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.473 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=118] [version=89] [2024/05/06 15:33:47.474 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=2.644521ms] [job="ID:118, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.475 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=89] [2024/05/06 15:33:47.478 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.480 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=90] [2024/05/06 15:33:47.480 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=158.426µs] [gotSchemaVersion=90] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.481 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=118] [version=90] [2024/05/06 15:33:47.483 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=2.933818ms] [job="ID:118, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.484 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=90] [2024/05/06 15:33:47.487 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.489 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=91] [2024/05/06 15:33:47.489 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=168.371µs] [gotSchemaVersion=91] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.490 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=118] [version=91] [2024/05/06 15:33:47.491 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=2.283222ms] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.492 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=91] [2024/05/06 15:33:47.494 +08:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayWatchSyncLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\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:141\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayWatchSyncLoop\n\tpkg/domain/runaway.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96"] [2024/05/06 15:33:47.494 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:47.495 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.495 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=118] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.496 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=118] [physicalTableID=116] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000100] [2024/05/06 15:33:47.498 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.498 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=91] [2024/05/06 15:33:47.501 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934042849281, UniqueWarnings:0"] [2024/05/06 15:33:47.501 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=118] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.502 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934042849281, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000745f728000000000000001,EndKey:7480000000000000745f72800000000000000100,First:false,PhysicalTableID:116,Ingest mode:false"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=116] ["start key"=7480000000000000745f728000000000000001] ["end key"=7480000000000000745f72800000000000000100] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000100] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=116] ["end key"=7480000000000000745f72800000000000000100] ["current end key"=7480000000000000745f72800000000000000100] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 1, tp add index"] [task="taskID: 1, physicalTableID: 116, range: [7480000000000000745f728000000000000001, 7480000000000000745f72800000000000000100), jobID: 118"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000745f72800000000000000100] ["take time"=255.563µs] [2024/05/06 15:33:47.503 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.505 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000745f728000000000000001] [2024/05/06 15:33:47.505 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.509 +08:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 15:33:47.509 +08:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/06 15:33:47.511 +08:00] [INFO] [dispatcher_manager.go:293] ["cleanUp loop start"] [2024/05/06 15:33:47.511 +08:00] [INFO] [dispatcher_manager.go:243] ["subtask table gc loop start"] [2024/05/06 15:33:47.511 +08:00] [INFO] [dispatcher_manager.go:156] ["dispatch task loop start"] [2024/05/06 15:33:47.551 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=92] [2024/05/06 15:33:47.551 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=193.756µs] [gotSchemaVersion=92] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.552 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=118] [version=92] [2024/05/06 15:33:47.553 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=2.216168ms] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934042849281, UniqueWarnings:0"] [2024/05/06 15:33:47.554 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=92] [2024/05/06 15:33:47.557 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934042849281, UniqueWarnings:0"] [2024/05/06 15:33:47.557 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=118] [table=test_add_index_with_pk] [index=idx] [2024/05/06 15:33:47.558 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=93] [2024/05/06 15:33:47.559 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=145.085µs] [gotSchemaVersion=93] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.559 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=118] [version=93] [2024/05/06 15:33:47.561 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=2.339973ms] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.561 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=93] [2024/05/06 15:33:47.564 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.565 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=118] [physicalTableID=116] [startKey=7480000000000000745f69ffff000000000001] [endKey=7480000000000000745f69ffff000000000001ff] [2024/05/06 15:33:47.567 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.567 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=93] [2024/05/06 15:33:47.571 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=118] [conn=16] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934061199360, UniqueWarnings:0"] [2024/05/06 15:33:47.572 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:118, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934061199360, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000745f69ffff000000000001,EndKey:7480000000000000745f69ffff000000000001ff,First:false,PhysicalTableID:116,Ingest mode:false"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=116] ["start key"=7480000000000000745f69ffff000000000001] ["end key"=7480000000000000745f69ffff000000000001ff] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000745f69ffff000000000001] [endKey=7480000000000000745f69ffff000000000001ff] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=116] ["end key"=7480000000000000745f69ffff000000000001ff] ["current end key"=7480000000000000745f69ffff00000000000100] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 116, range: [7480000000000000745f69ffff000000000001, 7480000000000000745f69ffff00000000000100), jobID: 118"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000745f69ffff0000000000010000] ["take time"=76.108µs] [2024/05/06 15:33:47.573 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.575 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000745f69ffff000000000001] [2024/05/06 15:33:47.575 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.612 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:47.613 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=94] [2024/05/06 15:33:47.613 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=151.621µs] [gotSchemaVersion=94] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.614 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=118] [version=94] [2024/05/06 15:33:47.616 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=2.814044ms] [job="ID:118, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934061199360, UniqueWarnings:0"] [2024/05/06 15:33:47.617 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=94] [2024/05/06 15:33:47.621 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=118] [elementID=1] [comment="physical ID is 116"] [2024/05/06 15:33:47.622 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="add index"] [2024/05/06 15:33:47.622 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=118] [conn=16] [job="ID:118, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.466 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934061199360, UniqueWarnings:0"] [2024/05/06 15:33:47.624 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=118] [elementID=1] [startKey=7480000000000000745f69ffff000000000001] [endKey=7480000000000000745f69ffff000000000002] [2024/05/06 15:33:47.624 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=94] [2024/05/06 15:33:47.626 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/06 15:33:47.626 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.626 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:656\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=94] [2024/05/06 15:33:47.627 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=94] [cur_db=test] [sql="alter table test_add_index_with_pk add index idx1 (a, b)"] [user=] [2024/05/06 15:33:47.629 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:47.629 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:119, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk add index idx1 (a, b)"] [2024/05/06 15:33:47.634 +08:00] [INFO] [ddl_worker.go:996] ["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:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.634 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx1\",\"L\":\"idx1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"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/06 15:33:47.634 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:47.635 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=95] [2024/05/06 15:33:47.635 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=135.331µs] [gotSchemaVersion=95] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.636 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=119] [version=95] [2024/05/06 15:33:47.638 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=2.531439ms] [job="ID:119, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.638 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=95] [2024/05/06 15:33:47.641 +08:00] [INFO] [ddl_worker.go:996] ["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:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.643 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=96] [2024/05/06 15:33:47.643 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=174.421µs] [gotSchemaVersion=96] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.644 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=119] [version=96] [2024/05/06 15:33:47.645 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=2.35447ms] [job="ID:119, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.646 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=96] [2024/05/06 15:33:47.648 +08:00] [INFO] [ddl_worker.go:996] ["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 only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.650 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=97] [2024/05/06 15:33:47.650 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=156.261µs] [gotSchemaVersion=97] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.651 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=119] [version=97] [2024/05/06 15:33:47.652 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=2.231308ms] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.653 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=97] [2024/05/06 15:33:47.656 +08:00] [INFO] [ddl_worker.go:996] ["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:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.657 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=119] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx1] [2024/05/06 15:33:47.657 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=119] [physicalTableID=116] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000200] [2024/05/06 15:33:47.659 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.659 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=97] [2024/05/06 15:33:47.662 +08:00] [INFO] [ddl_worker.go:996] ["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:2, TableID:116, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934085316608, UniqueWarnings:0"] [2024/05/06 15:33:47.662 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=119] [table=test_add_index_with_pk] ["ingest mode"=false] [index=idx1] [2024/05/06 15:33:47.664 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934085316608, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000745f728000000000000001,EndKey:7480000000000000745f72800000000000000200,First:false,PhysicalTableID:116,Ingest mode:false"] [2024/05/06 15:33:47.664 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.664 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.664 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=116] ["start key"=7480000000000000745f728000000000000001] ["end key"=7480000000000000745f72800000000000000200] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000200] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=116] ["end key"=7480000000000000745f72800000000000000200] ["current end key"=7480000000000000745f72800000000000000200] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 116, range: [7480000000000000745f728000000000000001, 7480000000000000745f72800000000000000200), jobID: 119"] ["added count"=2] ["scan count"=2] ["next key"=7480000000000000745f72800000000000000200] ["take time"=294.278µs] [2024/05/06 15:33:47.665 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.667 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=2] ["start key"=7480000000000000745f728000000000000001] [2024/05/06 15:33:47.667 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=2] [2024/05/06 15:33:47.694 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=97] [2024/05/06 15:33:47.725 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=98] [2024/05/06 15:33:47.725 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=225.3µs] [gotSchemaVersion=98] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.727 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=119] [version=98] [2024/05/06 15:33:47.731 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=5.824792ms] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:2, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934085316608, UniqueWarnings:0"] [2024/05/06 15:33:47.732 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=98] [2024/05/06 15:33:47.737 +08:00] [INFO] [ddl_worker.go:996] ["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:2, TableID:116, RowCount:2, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934085316608, UniqueWarnings:0"] [2024/05/06 15:33:47.737 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=119] [table=test_add_index_with_pk] [index=idx1] [2024/05/06 15:33:47.740 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=99] [2024/05/06 15:33:47.740 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=249.4µs] [gotSchemaVersion=99] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.741 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=119] [version=99] [2024/05/06 15:33:47.742 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=2.763564ms] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:2, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.743 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=99] [2024/05/06 15:33:47.749 +08:00] [INFO] [ddl_worker.go:996] ["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:2, TableID:116, RowCount:2, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.749 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=119] [physicalTableID=116] [startKey=7480000000000000745f69ffff000000000002] [endKey=7480000000000000745f69ffff000000000002ff] [2024/05/06 15:33:47.752 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.753 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=99] [2024/05/06 15:33:47.758 +08:00] [INFO] [ddl_worker.go:996] ["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:2, TableID:116, RowCount:2, ArgLen:0, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934109433856, UniqueWarnings:0"] [2024/05/06 15:33:47.760 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:119, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:116, RowCount:2, ArgLen:6, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934109433856, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000745f69ffff000000000002,EndKey:7480000000000000745f69ffff000000000002ff,First:false,PhysicalTableID:116,Ingest mode:false"] [2024/05/06 15:33:47.760 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=116] ["start key"=7480000000000000745f69ffff000000000002] ["end key"=7480000000000000745f69ffff000000000002ff] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000745f69ffff000000000002] [endKey=7480000000000000745f69ffff000000000002ff] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=116] ["end key"=7480000000000000745f69ffff000000000002ff] ["current end key"=7480000000000000745f69ffff00000000000200] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 116, range: [7480000000000000745f69ffff000000000002, 7480000000000000745f69ffff00000000000200), jobID: 119"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000745f69ffff0000000000020000] ["take time"=97.133µs] [2024/05/06 15:33:47.761 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:47.763 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=2] ["start key"=7480000000000000745f69ffff000000000002] [2024/05/06 15:33:47.763 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=2] [2024/05/06 15:33:47.812 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:47.814 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=100] [2024/05/06 15:33:47.814 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=225.186µs] [gotSchemaVersion=100] [phyTblIDs="[116]"] [actionTypes="[7]"] [2024/05/06 15:33:47.815 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=119] [version=100] [2024/05/06 15:33:47.816 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=2.109857ms] [job="ID:119, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:2, ArgLen:3, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934109433856, UniqueWarnings:0"] [2024/05/06 15:33:47.816 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=100] [2024/05/06 15:33:47.821 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=119] [elementID=1] [comment="physical ID is 116"] [2024/05/06 15:33:47.822 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="add index"] [2024/05/06 15:33:47.822 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=119] [conn=16] [job="ID:119, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:2, ArgLen:3, start time: 2024-05-06 15:33:47.628 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934109433856, UniqueWarnings:0"] [2024/05/06 15:33:47.825 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=119] [elementID=1] [startKey=7480000000000000745f69ffff000000000002] [endKey=7480000000000000745f69ffff000000000003] [2024/05/06 15:33:47.826 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=100] [2024/05/06 15:33:47.828 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=119] [2024/05/06 15:33:47.828 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.828 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:659\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=100] [2024/05/06 15:33:47.829 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=100] [cur_db=test] [sql="drop table if exists test_add_index_with_pk1"] [user=] [2024/05/06 15:33:47.831 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:47.831 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table if exists test_add_index_with_pk1"] [2024/05/06 15:33:47.836 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=16] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.839 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=101] [2024/05/06 15:33:47.839 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=45.352µs] [gotSchemaVersion=101] [phyTblIDs="[106]"] [actionTypes="[4]"] [2024/05/06 15:33:47.840 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=120] [version=101] [2024/05/06 15:33:47.841 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=2.565298ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.842 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=101] [2024/05/06 15:33:47.845 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=16] [category=ddl] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.846 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=102] [2024/05/06 15:33:47.847 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=47.322µs] [gotSchemaVersion=102] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:47.848 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=120] [version=102] [2024/05/06 15:33:47.849 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=2.628094ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.850 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=102] [2024/05/06 15:33:47.852 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=16] [category=ddl] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.854 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=103] [2024/05/06 15:33:47.854 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=53.338µs] [gotSchemaVersion=103] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:47.855 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=120] [version=103] [2024/05/06 15:33:47.857 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=3.028707ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.858 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=103] [2024/05/06 15:33:47.860 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=120] [elementID=1] [comment="table ID is 106"] [2024/05/06 15:33:47.861 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2024/05/06 15:33:47.861 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=120] [conn=16] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:47.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.863 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=103] [2024/05/06 15:33:47.865 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=120] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b] [2024/05/06 15:33:47.865 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/06 15:33:47.865 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.866 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropTableObject\n\tpkg/ddl/ddl_api.go:6717\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropTable\n\tpkg/ddl/ddl_api.go:6750\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).DropTable\n\tpkg/ddl/schematracker/checker.go:262\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropTable\n\tpkg/executor/ddl.go:346\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:168\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:661\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=103] [2024/05/06 15:33:47.866 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=103] [cur_db=test] [sql="create table test_add_index_with_pk1(a int not null, b int not null default '0', c int, d int, primary key(c))"] [user=] [2024/05/06 15:33:47.868 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:47.868 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table test_add_index_with_pk1(a int not null, b int not null default '0', c int, d int, primary key(c))"] [2024/05/06 15:33:47.872 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=122] [conn=16] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.875 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=104] [2024/05/06 15:33:47.875 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=149.189µs] [gotSchemaVersion=104] [phyTblIDs="[121]"] [actionTypes="[3]"] [2024/05/06 15:33:47.876 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=122] [version=104] [2024/05/06 15:33:47.878 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=2.974284ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:47.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.879 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=104] [2024/05/06 15:33:47.882 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=122] [conn=16] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:47.884 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=104] [2024/05/06 15:33:47.885 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/06 15:33:47.885 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:47.885 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:662\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=104] [2024/05/06 15:33:47.886 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=104] [cur_db=test] [sql="alter table test_add_index_with_pk1 add index idx (c)"] [user=] [2024/05/06 15:33:47.888 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:47.888 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk1 add index idx (c)"] [2024/05/06 15:33:47.895 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.895 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 15:33:47.895 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:47.897 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=105] [2024/05/06 15:33:47.898 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=232.204µs] [gotSchemaVersion=105] [phyTblIDs="[121]"] [actionTypes="[7]"] [2024/05/06 15:33:47.899 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=123] [version=105] [2024/05/06 15:33:47.900 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=3.060691ms] [job="ID:123, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.901 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=105] [2024/05/06 15:33:47.906 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.908 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=106] [2024/05/06 15:33:47.908 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=181.399µs] [gotSchemaVersion=106] [phyTblIDs="[121]"] [actionTypes="[7]"] [2024/05/06 15:33:47.909 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=123] [version=106] [2024/05/06 15:33:47.910 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=2.570351ms] [job="ID:123, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.911 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=106] [2024/05/06 15:33:47.915 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.917 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=107] [2024/05/06 15:33:47.917 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=215.305µs] [gotSchemaVersion=107] [phyTblIDs="[121]"] [actionTypes="[7]"] [2024/05/06 15:33:47.918 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=123] [version=107] [2024/05/06 15:33:47.919 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=2.170697ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.919 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=107] [2024/05/06 15:33:47.923 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:47.924 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=test_add_index_with_pk1] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.924 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=121] [startKey=7480000000000000795f728000000000000001] [endKey=7480000000000000795f72800000000000000100] [2024/05/06 15:33:47.926 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:47.927 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=107] [2024/05/06 15:33:47.931 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934155309056, UniqueWarnings:0"] [2024/05/06 15:33:47.931 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=test_add_index_with_pk1] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:47.933 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934155309056, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000795f728000000000000001,EndKey:7480000000000000795f72800000000000000100,First:false,PhysicalTableID:121,Ingest mode:false"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=121] ["start key"=7480000000000000795f728000000000000001] ["end key"=7480000000000000795f72800000000000000100] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000795f728000000000000001] [endKey=7480000000000000795f72800000000000000100] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=121] ["end key"=7480000000000000795f72800000000000000100] ["current end key"=7480000000000000795f72800000000000000100] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 121, range: [7480000000000000795f728000000000000001, 7480000000000000795f72800000000000000100), jobID: 123"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000795f72800000000000000100] ["take time"=374.754µs] [2024/05/06 15:33:47.934 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:47.936 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000795f728000000000000001] [2024/05/06 15:33:47.936 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:47.992 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=108] [2024/05/06 15:33:47.992 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=271.872µs] [gotSchemaVersion=108] [phyTblIDs="[121]"] [actionTypes="[7]"] [2024/05/06 15:33:47.993 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=123] [version=108] [2024/05/06 15:33:47.995 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=108] [2024/05/06 15:33:47.997 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=4.95036ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934155309056, UniqueWarnings:0"] [2024/05/06 15:33:47.998 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=108] [2024/05/06 15:33:48.004 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934155309056, UniqueWarnings:0"] [2024/05/06 15:33:48.005 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=123] [table=test_add_index_with_pk1] [index=idx] [2024/05/06 15:33:48.007 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=109] [2024/05/06 15:33:48.007 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=238.531µs] [gotSchemaVersion=109] [phyTblIDs="[121]"] [actionTypes="[7]"] [2024/05/06 15:33:48.008 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=123] [version=109] [2024/05/06 15:33:48.009 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=2.289266ms] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.010 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=109] [2024/05/06 15:33:48.015 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.015 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=121] [startKey=7480000000000000795f69ffff000000000001] [endKey=7480000000000000795f69ffff000000000001ff] [2024/05/06 15:33:48.018 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:48.019 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=109] [2024/05/06 15:33:48.024 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=123] [conn=16] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934179164161, UniqueWarnings:0"] [2024/05/06 15:33:48.026 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:123, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:121, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934179164161, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000795f69ffff000000000001,EndKey:7480000000000000795f69ffff000000000001ff,First:false,PhysicalTableID:121,Ingest mode:false"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=121] ["start key"=7480000000000000795f69ffff000000000001] ["end key"=7480000000000000795f69ffff000000000001ff] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000795f69ffff000000000001] [endKey=7480000000000000795f69ffff000000000001ff] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=121] ["end key"=7480000000000000795f69ffff000000000001ff] ["current end key"=7480000000000000795f69ffff00000000000100] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:48.027 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 121, range: [7480000000000000795f69ffff000000000001, 7480000000000000795f69ffff00000000000100), jobID: 123"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000795f69ffff0000000000010000] ["take time"=104.878µs] [2024/05/06 15:33:48.028 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:48.030 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000795f69ffff000000000001] [2024/05/06 15:33:48.030 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:48.079 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:48.081 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=110] [2024/05/06 15:33:48.081 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=240.026µs] [gotSchemaVersion=110] [phyTblIDs="[121]"] [actionTypes="[7]"] [2024/05/06 15:33:48.082 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=123] [version=110] [2024/05/06 15:33:48.083 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=2.523046ms] [job="ID:123, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:121, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934179164161, UniqueWarnings:0"] [2024/05/06 15:33:48.084 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=110] [2024/05/06 15:33:48.088 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=123] [elementID=1] [comment="physical ID is 121"] [2024/05/06 15:33:48.089 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="add index"] [2024/05/06 15:33:48.090 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=123] [conn=16] [job="ID:123, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:121, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:47.887 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934179164161, UniqueWarnings:0"] [2024/05/06 15:33:48.092 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=123] [elementID=1] [startKey=7480000000000000795f69ffff000000000001] [endKey=7480000000000000795f69ffff000000000002] [2024/05/06 15:33:48.093 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=110] [2024/05/06 15:33:48.095 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/06 15:33:48.095 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.096 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:664\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=110] [2024/05/06 15:33:48.097 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=110] [cur_db=test] [sql="drop table if exists test_add_index_with_pk2"] [user=] [2024/05/06 15:33:48.099 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.099 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:124, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table if exists test_add_index_with_pk2"] [2024/05/06 15:33:48.111 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=124] [conn=16] [category=ddl] [job="ID:124, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.113 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=111] [2024/05/06 15:33:48.113 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=62.482µs] [gotSchemaVersion=111] [phyTblIDs="[109]"] [actionTypes="[4]"] [2024/05/06 15:33:48.114 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=124] [version=111] [2024/05/06 15:33:48.115 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=2.174421ms] [job="ID:124, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.116 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=111] [2024/05/06 15:33:48.118 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=124] [conn=16] [category=ddl] [job="ID:124, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.120 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=112] [2024/05/06 15:33:48.121 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=55.19µs] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:48.122 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=124] [version=112] [2024/05/06 15:33:48.123 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=2.770825ms] [job="ID:124, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.124 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=112] [2024/05/06 15:33:48.127 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=124] [conn=16] [category=ddl] [job="ID:124, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.129 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=113] [2024/05/06 15:33:48.129 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=50.845µs] [gotSchemaVersion=113] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:48.130 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=124] [version=113] [2024/05/06 15:33:48.131 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=2.287526ms] [job="ID:124, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.132 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=113] [2024/05/06 15:33:48.135 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=124] [elementID=1] [comment="table ID is 109"] [2024/05/06 15:33:48.136 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop table"] [2024/05/06 15:33:48.137 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=124] [conn=16] [job="ID:124, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:48.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.139 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=113] [2024/05/06 15:33:48.140 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=124] [elementID=1] [startKey=74800000000000006d] [endKey=74800000000000006e] [2024/05/06 15:33:48.141 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/06 15:33:48.141 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.141 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropTableObject\n\tpkg/ddl/ddl_api.go:6717\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropTable\n\tpkg/ddl/ddl_api.go:6750\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).DropTable\n\tpkg/ddl/schematracker/checker.go:262\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropTable\n\tpkg/executor/ddl.go:346\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:168\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:667\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=113] [2024/05/06 15:33:48.142 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=113] [cur_db=test] [sql="create table test_add_index_with_pk2(a int not null, b int not null default '0', c int unsigned, d int, primary key(c))"] [user=] [2024/05/06 15:33:48.144 +08:00] [INFO] [ddl_worker.go:253] ["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-06 15:33:48.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.144 +08:00] [INFO] [ddl.go:1067] ["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-06 15:33:48.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table test_add_index_with_pk2(a int not null, b int not null default '0', c int unsigned, d int, primary key(c))"] [2024/05/06 15:33:48.149 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=126] [conn=16] [category=ddl] [job="ID:126, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.152 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=114] [2024/05/06 15:33:48.152 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=265.349µs] [gotSchemaVersion=114] [phyTblIDs="[125]"] [actionTypes="[3]"] [2024/05/06 15:33:48.153 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=126] [version=114] [2024/05/06 15:33:48.154 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=2.467315ms] [job="ID:126, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.155 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=114] [2024/05/06 15:33:48.158 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=126] [conn=16] [job="ID:126, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.143 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.161 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=114] [2024/05/06 15:33:48.162 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=126] [2024/05/06 15:33:48.162 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.162 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:668\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=114] [2024/05/06 15:33:48.163 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=114] [cur_db=test] [sql="alter table test_add_index_with_pk2 add index idx (c)"] [user=] [2024/05/06 15:33:48.170 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:48.170 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:127, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table test_add_index_with_pk2 add index idx (c)"] [2024/05/06 15:33:48.178 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.179 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 15:33:48.179 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:48.180 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=115] [2024/05/06 15:33:48.181 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=115] ["start time"=205.516µs] [gotSchemaVersion=115] [phyTblIDs="[125]"] [actionTypes="[7]"] [2024/05/06 15:33:48.182 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=127] [version=115] [2024/05/06 15:33:48.183 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=2.425332ms] [job="ID:127, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:125, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.184 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=115] [2024/05/06 15:33:48.188 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.190 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=116] [2024/05/06 15:33:48.190 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=115] [neededSchemaVersion=116] ["start time"=236.231µs] [gotSchemaVersion=116] [phyTblIDs="[125]"] [actionTypes="[7]"] [2024/05/06 15:33:48.192 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=127] [version=116] [2024/05/06 15:33:48.193 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=2.528086ms] [job="ID:127, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:125, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.194 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=116] [2024/05/06 15:33:48.199 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.202 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=117] [2024/05/06 15:33:48.202 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=241.676µs] [gotSchemaVersion=117] [phyTblIDs="[125]"] [actionTypes="[7]"] [2024/05/06 15:33:48.203 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=127] [version=117] [2024/05/06 15:33:48.204 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=2.711582ms] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.205 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=117] [2024/05/06 15:33:48.211 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.211 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=test_add_index_with_pk2] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:48.212 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=125] [startKey=74800000000000007d5f728000000000000001] [endKey=74800000000000007d5f72800000000000000100] [2024/05/06 15:33:48.215 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:48.215 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=117] [2024/05/06 15:33:48.220 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934230544385, UniqueWarnings:0"] [2024/05/06 15:33:48.220 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=test_add_index_with_pk2] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:48.222 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934230544385, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000007d5f728000000000000001,EndKey:74800000000000007d5f72800000000000000100,First:false,PhysicalTableID:125,Ingest mode:false"] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=125] ["start key"=74800000000000007d5f728000000000000001] ["end key"=74800000000000007d5f72800000000000000100] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007d5f728000000000000001] [endKey=74800000000000007d5f72800000000000000100] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=125] ["end key"=74800000000000007d5f72800000000000000100] ["current end key"=74800000000000007d5f72800000000000000100] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:48.223 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:48.224 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 125, range: [74800000000000007d5f728000000000000001, 74800000000000007d5f72800000000000000100), jobID: 127"] ["added count"=1] ["scan count"=1] ["next key"=74800000000000007d5f72800000000000000100] ["take time"=438.49µs] [2024/05/06 15:33:48.224 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:48.226 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=74800000000000007d5f728000000000000001] [2024/05/06 15:33:48.226 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:48.277 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=118] [2024/05/06 15:33:48.277 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=261.716µs] [gotSchemaVersion=118] [phyTblIDs="[125]"] [actionTypes="[7]"] [2024/05/06 15:33:48.279 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=127] [version=118] [2024/05/06 15:33:48.280 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=2.976029ms] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934230544385, UniqueWarnings:0"] [2024/05/06 15:33:48.281 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=118] [2024/05/06 15:33:48.285 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934230544385, UniqueWarnings:0"] [2024/05/06 15:33:48.286 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=127] [table=test_add_index_with_pk2] [index=idx] [2024/05/06 15:33:48.288 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=119] [2024/05/06 15:33:48.288 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=234.87µs] [gotSchemaVersion=119] [phyTblIDs="[125]"] [actionTypes="[7]"] [2024/05/06 15:33:48.289 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=127] [version=119] [2024/05/06 15:33:48.291 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=3.071436ms] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.292 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=119] [2024/05/06 15:33:48.294 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=119] [2024/05/06 15:33:48.298 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.298 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=125] [startKey=74800000000000007d5f69ffff000000000001] [endKey=74800000000000007d5f69ffff000000000001ff] [2024/05/06 15:33:48.301 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:48.302 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=119] [2024/05/06 15:33:48.308 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=127] [conn=16] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934253350914, UniqueWarnings:0"] [2024/05/06 15:33:48.310 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:127, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:125, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934253350914, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000007d5f69ffff000000000001,EndKey:74800000000000007d5f69ffff000000000001ff,First:false,PhysicalTableID:125,Ingest mode:false"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=125] ["start key"=74800000000000007d5f69ffff000000000001] ["end key"=74800000000000007d5f69ffff000000000001ff] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007d5f69ffff000000000001] [endKey=74800000000000007d5f69ffff000000000001ff] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=125] ["end key"=74800000000000007d5f69ffff000000000001ff] ["current end key"=74800000000000007d5f69ffff00000000000100] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [task="taskID: 1, physicalTableID: 125, range: [74800000000000007d5f69ffff000000000001, 74800000000000007d5f69ffff00000000000100), jobID: 127"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000007d5f69ffff0000000000010000] ["take time"=88.692µs] [2024/05/06 15:33:48.311 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:48.313 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=74800000000000007d5f69ffff000000000001] [2024/05/06 15:33:48.314 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:48.357 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:48.359 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=120] [2024/05/06 15:33:48.359 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=293.187µs] [gotSchemaVersion=120] [phyTblIDs="[125]"] [actionTypes="[7]"] [2024/05/06 15:33:48.361 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=127] [version=120] [2024/05/06 15:33:48.361 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=2.218997ms] [job="ID:127, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:125, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934253350914, UniqueWarnings:0"] [2024/05/06 15:33:48.362 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=120] [2024/05/06 15:33:48.368 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=127] [elementID=1] [comment="physical ID is 125"] [2024/05/06 15:33:48.369 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="add index"] [2024/05/06 15:33:48.369 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=127] [conn=16] [job="ID:127, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:125, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:48.169 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934253350914, UniqueWarnings:0"] [2024/05/06 15:33:48.372 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=127] [elementID=1] [startKey=74800000000000007d5f69ffff000000000001] [endKey=74800000000000007d5f69ffff000000000002] [2024/05/06 15:33:48.373 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=120] [2024/05/06 15:33:48.375 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=127] [2024/05/06 15:33:48.375 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.375 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3731\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:332\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:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=120] [2024/05/06 15:33:48.377 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=120] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/06 15:33:48.379 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.379 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table if exists t"] [2024/05/06 15:33:48.385 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=128] [conn=16] [category=ddl] [job="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.387 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=121] [2024/05/06 15:33:48.388 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=62.592µs] [gotSchemaVersion=121] [phyTblIDs="[112]"] [actionTypes="[4]"] [2024/05/06 15:33:48.389 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=128] [version=121] [2024/05/06 15:33:48.390 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=2.866904ms] [job="ID:128, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.391 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=121] [2024/05/06 15:33:48.395 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=128] [conn=16] [category=ddl] [job="ID:128, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.398 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=122] [2024/05/06 15:33:48.398 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=57.851µs] [gotSchemaVersion=122] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:48.399 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=128] [version=122] [2024/05/06 15:33:48.401 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=3.51344ms] [job="ID:128, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.402 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=122] [2024/05/06 15:33:48.405 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=128] [conn=16] [category=ddl] [job="ID:128, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.407 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=123] [2024/05/06 15:33:48.407 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=54.971µs] [gotSchemaVersion=123] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:48.409 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=128] [version=123] [2024/05/06 15:33:48.409 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=2.172088ms] [job="ID:128, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.410 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=123] [2024/05/06 15:33:48.413 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=128] [elementID=1] [comment="table ID is 112"] [2024/05/06 15:33:48.414 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="drop table"] [2024/05/06 15:33:48.415 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=128] [conn=16] [job="ID:128, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:48.378 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.417 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=123] [2024/05/06 15:33:48.418 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=128] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/06 15:33:48.419 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=128] [2024/05/06 15:33:48.419 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.419 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropTableObject\n\tpkg/ddl/ddl_api.go:6717\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropTable\n\tpkg/ddl/ddl_api.go:6750\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).DropTable\n\tpkg/ddl/schematracker/checker.go:262\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropTable\n\tpkg/executor/ddl.go:346\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:168\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:673\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=123] [2024/05/06 15:33:48.420 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=123] [cur_db=test] [sql="create table t (a int, b int, c int, primary key(a, b));"] [user=] [2024/05/06 15:33:48.423 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.423 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create table t (a int, b int, c int, primary key(a, b));"] [2024/05/06 15:33:48.428 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=130] [conn=16] [category=ddl] [job="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.430 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=124] [2024/05/06 15:33:48.430 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=165.686µs] [gotSchemaVersion=124] [phyTblIDs="[129]"] [actionTypes="[3]"] [2024/05/06 15:33:48.431 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=130] [version=124] [2024/05/06 15:33:48.433 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=2.571468ms] [job="ID:130, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.433 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=124] [2024/05/06 15:33:48.437 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=130] [conn=16] [job="ID:130, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.421 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.440 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=124] [2024/05/06 15:33:48.440 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=130] [2024/05/06 15:33:48.440 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.440 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2744\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2573\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:265\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:157\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:674\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=124] [2024/05/06 15:33:48.441 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=124] [cur_db=test] [sql="create index idx on t (a, b);"] [user=] [2024/05/06 15:33:48.443 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0; "] [table=true] [2024/05/06 15:33:48.443 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:131, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="create index idx on t (a, b);"] [2024/05/06 15:33:48.451 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.451 +08:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"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/06 15:33:48.451 +08:00] [INFO] [index.go:778] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 15:33:48.453 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=125] [2024/05/06 15:33:48.453 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=212.359µs] [gotSchemaVersion=125] [phyTblIDs="[129]"] [actionTypes="[7]"] [2024/05/06 15:33:48.455 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=131] [version=125] [2024/05/06 15:33:48.456 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=2.875645ms] [job="ID:131, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:129, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.457 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=125] [2024/05/06 15:33:48.461 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.464 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=126] [2024/05/06 15:33:48.464 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=254.841µs] [gotSchemaVersion=126] [phyTblIDs="[129]"] [actionTypes="[7]"] [2024/05/06 15:33:48.465 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=131] [version=126] [2024/05/06 15:33:48.466 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=2.344241ms] [job="ID:131, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:129, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.467 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=126] [2024/05/06 15:33:48.472 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.474 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=127] [2024/05/06 15:33:48.475 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=219.366µs] [gotSchemaVersion=127] [phyTblIDs="[129]"] [actionTypes="[7]"] [2024/05/06 15:33:48.476 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=131] [version=127] [2024/05/06 15:33:48.477 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=2.221125ms] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.477 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=127] [2024/05/06 15:33:48.483 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.483 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:48.484 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=129] [startKey=7480000000000000815f72038000000000000001038000000000000002] [endKey=7480000000000000815f7203800000000000000103800000000000000200] [2024/05/06 15:33:48.487 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:48.487 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=127] [2024/05/06 15:33:48.492 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934301847553, UniqueWarnings:0"] [2024/05/06 15:33:48.492 +08:00] [INFO] [index.go:887] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=idx] [2024/05/06 15:33:48.494 +08:00] [INFO] [index.go:1960] ["start to add table index"] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:0, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934301847553, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000815f72038000000000000001038000000000000002,EndKey:7480000000000000815f7203800000000000000103800000000000000200,First:false,PhysicalTableID:129,Ingest mode:false"] [2024/05/06 15:33:48.494 +08:00] [INFO] [info.go:1182] [SetTiFlashGroupConfig] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=129] ["start key"=7480000000000000815f72038000000000000001038000000000000002] ["end key"=7480000000000000815f7203800000000000000103800000000000000200] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000815f72038000000000000001038000000000000002] [endKey=7480000000000000815f7203800000000000000103800000000000000200] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=129] ["end key"=7480000000000000815f7203800000000000000103800000000000000200] ["current end key"=7480000000000000815f7203800000000000000103800000000000000200] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [2024/05/06 15:33:48.495 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [2024/05/06 15:33:48.496 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 129, range: [7480000000000000815f72038000000000000001038000000000000002, 7480000000000000815f7203800000000000000103800000000000000200), jobID: 131"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000815f7203800000000000000103800000000000000200] ["take time"=434.426µs] [2024/05/06 15:33:48.496 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [2024/05/06 15:33:48.498 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000815f72038000000000000001038000000000000002] [2024/05/06 15:33:48.498 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:48.562 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=128] [2024/05/06 15:33:48.563 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=271.395µs] [gotSchemaVersion=128] [phyTblIDs="[129]"] [actionTypes="[7]"] [2024/05/06 15:33:48.564 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=131] [version=128] [2024/05/06 15:33:48.564 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=2.038376ms] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934301847553, UniqueWarnings:0"] [2024/05/06 15:33:48.565 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=128] [2024/05/06 15:33:48.571 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934301847553, UniqueWarnings:0"] [2024/05/06 15:33:48.572 +08:00] [INFO] [index.go:910] ["index backfill state ready to merge"] [category=ddl] ["job ID"=131] [table=t] [index=idx] [2024/05/06 15:33:48.574 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=129] [2024/05/06 15:33:48.574 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=279.257µs] [gotSchemaVersion=129] [phyTblIDs="[129]"] [actionTypes="[7]"] [2024/05/06 15:33:48.576 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=131] [version=129] [2024/05/06 15:33:48.576 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=2.214333ms] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.577 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=129] [2024/05/06 15:33:48.583 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [2024/05/06 15:33:48.583 +08:00] [INFO] [reorg.go:710] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=129] [startKey=7480000000000000815f69ffff000000000002] [endKey=7480000000000000815f69ffff000000000002ff] [2024/05/06 15:33:48.587 +08:00] [INFO] [ddl_worker.go:1207] ["schema version doesn't change"] [category=ddl] [2024/05/06 15:33:48.587 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=129] [2024/05/06 15:33:48.594 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=131] [conn=16] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:1, ArgLen:0, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934328061953, UniqueWarnings:0"] [2024/05/06 15:33:48.595 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:893\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=129] [2024/05/06 15:33:48.597 +08:00] [INFO] [index.go:1957] ["start to merge temp index"] [category=ddl] [job="ID:131, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:129, RowCount:1, ArgLen:6, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934328061953, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000815f69ffff000000000002,EndKey:7480000000000000815f69ffff000000000002ff,First:false,PhysicalTableID:129,Ingest mode:false"] [2024/05/06 15:33:48.599 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:48.599 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:48.599 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:48.599 +08:00] [INFO] [backfilling.go:334] ["backfill worker start"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:48.599 +08:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=129] ["start key"=7480000000000000815f69ffff000000000002] ["end key"=7480000000000000815f69ffff000000000002ff] [2024/05/06 15:33:48.599 +08:00] [INFO] [backfilling.go:714] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000815f69ffff000000000002] [endKey=7480000000000000815f69ffff000000000002ff] [2024/05/06 15:33:48.600 +08:00] [INFO] [backfilling.go:566] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=129] ["end key"=7480000000000000815f69ffff000000000002ff] ["current end key"=7480000000000000815f69ffff00000000000200] [2024/05/06 15:33:48.600 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [2024/05/06 15:33:48.600 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [2024/05/06 15:33:48.600 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [2024/05/06 15:33:48.600 +08:00] [INFO] [backfilling.go:321] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 129, range: [7480000000000000815f69ffff000000000002, 7480000000000000815f69ffff00000000000200), jobID: 131"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000815f69ffff0000000000020000] ["take time"=114.701µs] [2024/05/06 15:33:48.600 +08:00] [INFO] [backfilling.go:347] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [2024/05/06 15:33:48.602 +08:00] [INFO] [backfilling.go:450] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000815f69ffff000000000002] [2024/05/06 15:33:48.602 +08:00] [INFO] [reorg.go:234] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 15:33:48.664 +08:00] [INFO] [index.go:741] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 15:33:48.665 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:898\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1266\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:96\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=130] [2024/05/06 15:33:48.666 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=246.868µs] [gotSchemaVersion=130] [phyTblIDs="[129]"] [actionTypes="[7]"] [2024/05/06 15:33:48.667 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=131] [version=130] [2024/05/06 15:33:48.668 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=2.801538ms] [job="ID:131, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:129, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934328061953, UniqueWarnings:0"] [2024/05/06 15:33:48.669 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=130] [2024/05/06 15:33:48.674 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=131] [elementID=1] [comment="physical ID is 129"] [2024/05/06 15:33:48.675 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=131] [jobType="add index"] [2024/05/06 15:33:48.675 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=131] [conn=16] [job="ID:131, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:129, RowCount:1, ArgLen:3, start time: 2024-05-06 15:33:48.442 +0800 CST, Err:, ErrCount:0, SnapshotVersion:449571934328061953, UniqueWarnings:0"] [2024/05/06 15:33:48.679 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnSchemaStateChanged\n\tpkg/ddl/callback.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1\n\tpkg/ddl/job_table.go:435\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:154\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=130] [2024/05/06 15:33:48.680 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=131] [elementID=1] [startKey=7480000000000000815f69ffff000000000002] [endKey=7480000000000000815f69ffff000000000003] [2024/05/06 15:33:48.681 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=131] [2024/05/06 15:33:48.681 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.681 +08:00] [WARN] [domain.go:240] ["failed to get schema version"] [error="cannot get store from domain"] [errorVerbose="cannot get store from domain\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:326\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/ddl.(*DefaultCallback).OnChanged\n\tpkg/ddl/callback.go:141\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1189\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7391\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7240\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateIndex\n\tpkg/ddl/schematracker/checker.go:302\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:317\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:151\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:135\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:130\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndexWithPK.func1\n\tpkg/ddl/index_modify_test.go:676\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=130] [2024/05/06 15:33:48.683 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5c784bd8-611a-4c88-a272-d71836c1c5c7] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:48.683 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:48.683 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=1.611µs] [2024/05/06 15:33:48.683 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=866ns] [2024/05/06 15:33:48.683 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=838ns] [2024/05/06 15:33:48.683 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=922ns] [2024/05/06 15:33:48.683 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:48.683 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=920ns] [2024/05/06 15:33:48.683 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:48.683 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:48.687 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=5c784bd8-611a-4c88-a272-d71836c1c5c7] ["take time"=5.302104ms] [2024/05/06 15:33:48.687 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=5c784bd8-611a-4c88-a272-d71836c1c5c7] [2024/05/06 15:33:48.687 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:48.687 +08:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/06 15:33:48.687 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:48.687 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:48.687 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:48.687 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:48.687 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:48.688 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5c784bd8-611a-4c88-a272-d71836c1c5c7] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:1521] ["stopping dist task dispatcher manager because the current node is not DDL owner anymore"] [id=5c784bd8-611a-4c88-a272-d71836c1c5c7] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [dispatcher_manager.go:299] ["cleanUp loop exits"] [error="context canceled"] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:48.688 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5c784bd8-611a-4c88-a272-d71836c1c5c7] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:48.688 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:48.688 +08:00] [INFO] [dispatcher_manager.go:162] ["dispatch task loop exits"] [error="context canceled"] [interval=3000] [2024/05/06 15:33:48.688 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:48.688 +08:00] [INFO] [dispatcher_manager.go:249] ["subtask history table gc loop exits"] [error="context canceled"] [2024/05/06 15:33:48.688 +08:00] [INFO] [domain.go:1523] ["dist task dispatcher manager stopped"] [id=5c784bd8-611a-4c88-a272-d71836c1c5c7] [2024/05/06 15:33:48.689 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:48.689 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:48.689 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:48.689 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=7.246944ms] [2024/05/06 15:33:48.690 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:48.690 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:48.690 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:48.690 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:48.690 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:48.690 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddIndexWithPK (3.26s) --- PASS: TestAddIndexWithPK/ClusteredIndexDefModeIntOnly (0.91s) --- PASS: TestAddIndexWithPK/ClusteredIndexDefModeOn (1.26s) === RUN TestCreateOrReplacePlacementPolicy [2024/05/06 15:33:48.693 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:48.694 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:48.694 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:48.694 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:48.694 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:48.695 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:48.696 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=782ef3ce-0b16-46fd-808f-38e3e0e8736f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:48.706 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:48.706 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:48.706 +08:00] [WARN] [domain.go:240] ["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:322\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateOrReplacePlacementPolicy\n\tpkg/ddl/placement_policy_test.go:508\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:48.709 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.867532ms] [2024/05/06 15:33:48.709 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:48.709 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=63563700-1a42-4f32-b7ce-5adba5eea0bd] [runWorker=true] [2024/05/06 15:33:48.710 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:48.710 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:48.710 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:48.710 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:48.710 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:48.710 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:48.710 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:48.711 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:48.713 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:48.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.713 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:48.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:48.761 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:48.761 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:48.766 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.770 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.629829ms] [2024/05/06 15:33:48.770 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:48.772 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.772 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:48.773 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.076439ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:48.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.777 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.780 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:48.780 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.780 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:48.781 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:48.786 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.786 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:48.791 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.799 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=938.473µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:48.800 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.800 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:48.802 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.441454ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.809 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.783 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.816 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:48.816 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.817 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:48.820 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.818 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.820 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.818 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:48.825 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.818 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.828 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=231.829µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:48.829 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.829 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:48.829 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.141423ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.818 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.833 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.818 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.837 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:48.837 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.837 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:48.840 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.840 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:48.847 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.850 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=740.274µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:48.851 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.851 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:48.854 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=4.431166ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.858 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.839 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.862 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:48.863 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.863 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:48.866 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.866 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:48.872 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.877 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=561.133µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:48.878 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.878 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:48.878 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.028212ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.882 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.865 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.886 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:48.886 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.887 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:48.890 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.890 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:48.895 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.899 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=258.552µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:48.900 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.900 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:48.901 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.621496ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.905 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.888 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.908 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:48.908 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.908 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:48.911 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.91 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.911 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.91 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:48.915 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.91 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.919 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=325.981µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:48.920 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.920 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:48.921 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.717614ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.91 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.925 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.91 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.928 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:48.928 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.929 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:48.931 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.931 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:48.936 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.938 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=170.895µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:48.939 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.939 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:48.940 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.106441ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.944 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.93 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.946 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:48.946 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.947 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:48.949 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.949 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:48.963 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.968 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=647.074µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:48.969 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.969 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:48.971 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=4.613047ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.974 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.948 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.977 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:48.977 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.977 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:48.980 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.980 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:48.985 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.988 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=204.358µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:48.989 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:48.989 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:48.990 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.228586ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.993 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.978 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:48.996 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:48.996 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:48.996 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:48.998 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.997 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:48.998 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.997 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:49.004 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.997 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.007 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=206.758µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:49.008 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.008 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:49.008 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.037471ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:48.997 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.012 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:48.997 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.015 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:49.015 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.016 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:49.016 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:49.019 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.019 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:49.024 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.028 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=428.797µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:49.029 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.030 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:49.031 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.953123ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.035 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.017 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.038 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:49.038 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.039 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:49.041 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.041 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:49.046 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.049 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=261.694µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:49.050 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.050 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:49.051 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.622647ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.056 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.04 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.059 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:49.059 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.060 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:49.062 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.062 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:49.067 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.070 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=248.806µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:49.071 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.071 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:49.073 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.895566ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.076 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.061 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.079 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:49.079 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.079 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:49.081 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.081 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:49.085 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.087 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=172.46µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:49.088 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.088 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:49.090 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.687585ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.093 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.08 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.096 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:49.096 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.096 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:49.098 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.098 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:49.102 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.105 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=237.705µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:49.106 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.106 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:49.107 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.167154ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.110 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.097 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.112 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:49.112 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.113 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:49.115 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.115 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:49.120 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.123 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=190.288µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:49.123 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.123 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:49.125 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.846ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.129 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.114 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.132 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:49.132 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.133 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:49.135 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.135 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:49.140 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.142 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=209.105µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:49.143 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.143 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:49.144 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.909546ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.148 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.134 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.150 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:49.150 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.151 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:49.153 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.153 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:49.158 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.162 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=419.935µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:49.163 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.163 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:49.164 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.672785ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.168 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.151 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.171 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:49.171 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.172 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:49.174 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.174 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:49.179 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.182 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=268.82µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:49.183 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.183 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:49.184 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.96654ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.188 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.173 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.190 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:49.190 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.190 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:49.192 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.192 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:49.197 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.199 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=156.183µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:49.200 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.200 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:49.201 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.643998ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.204 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.191 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.206 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:49.206 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.206 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:49.208 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.208 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:49.213 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.214 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=158.772µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:49.215 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.215 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:49.217 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.995646ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.220 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.207 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.223 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:49.223 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.223 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:49.225 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.224 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.225 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.224 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:49.230 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.224 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.234 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=348.323µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:49.234 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.234 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:49.235 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.191907ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.224 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.239 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.224 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.242 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:49.242 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.242 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:49.244 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.244 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:49.248 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.251 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=186.199µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:49.252 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.252 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:49.253 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.884855ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.256 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.243 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.259 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:49.259 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.259 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:49.261 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.26 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.261 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.26 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:49.266 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.26 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.268 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=203.006µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:49.269 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.269 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:49.271 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.765876ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.26 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.274 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.26 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.277 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:49.277 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.277 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:49.279 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.278 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.279 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.278 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:49.284 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.278 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.286 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=181.857µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:49.287 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.287 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:49.289 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=3.017112ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.278 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.292 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.278 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.294 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:49.294 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.295 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:49.297 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.297 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:49.301 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.303 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=171.929µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:49.304 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.304 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:49.305 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.244556ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.308 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.296 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.310 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:49.311 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.311 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:49.313 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.313 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:49.318 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.321 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=185.414µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:49.321 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.321 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:49.323 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.95069ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.326 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.312 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.328 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:49.328 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.328 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:49.330 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.330 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:49.334 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.336 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=182.51µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:49.337 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.337 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:49.339 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=3.024348ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.342 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.329 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.345 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:49.345 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.345 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:49.345 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:49.347 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.347 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:49.355 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.358 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=305.054µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:49.359 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.360 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:49.361 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.520793ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.366 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.346 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.368 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:49.369 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.369 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:49.371 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.371 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:49.375 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.377 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=294.172µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:49.378 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.378 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:49.380 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=3.06419ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.383 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.37 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.386 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:49.386 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.386 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:49.388 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.388 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:49.393 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.396 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=333.093µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:49.397 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.397 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:49.397 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.104236ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.401 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.387 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.403 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:49.403 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.404 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:49.406 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.405 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.406 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.405 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:49.410 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.405 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.413 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=280.689µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:49.414 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.414 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:49.415 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.020306ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.405 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.418 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.405 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.421 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:49.421 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.422 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:49.423 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.423 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.423 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.423 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:49.428 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.423 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.430 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=160.715µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:49.431 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.431 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:49.432 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.18211ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.423 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.435 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.423 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.437 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:49.437 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.440 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:49.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.440 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:49.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:49.444 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.447 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=296.537µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:49.448 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.448 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:49.449 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.359472ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:49.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.453 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.439 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.455 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:49.455 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.456 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:49.458 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.458 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:49.463 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.465 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=232.547µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:49.466 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.466 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:49.467 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.248282ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.470 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.457 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.472 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:49.472 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.473 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:49.474 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.474 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:49.480 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.482 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=238.422µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:49.483 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.483 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:49.484 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.206637ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.487 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.474 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.490 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:49.490 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.490 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:49.492 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.492 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:49.496 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.498 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=163.24µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:49.499 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.499 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:49.500 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.062212ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.503 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.491 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.505 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:49.505 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.506 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:49.508 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.508 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:49.512 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.515 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=296.283µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:49.516 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.516 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:49.517 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.52855ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.520 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.507 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.523 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:49.523 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.523 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:49.525 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.525 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:49.529 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.533 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=414.438µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:49.534 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.534 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:49.535 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.97249ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.539 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.524 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.542 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:49.542 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.542 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:49.545 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.545 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:49.549 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.552 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=306.177µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:49.553 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.553 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:49.555 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.662736ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.559 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.543 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.561 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:49.561 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.562 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:49.564 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.564 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:49.569 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.572 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=316.242µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:49.573 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.573 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:49.574 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.021714ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.577 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.563 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.579 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:49.579 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.580 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:49.582 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.582 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:49.587 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.590 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=258.258µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:49.591 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.591 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:49.592 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.020368ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.595 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.581 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.598 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:49.598 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.598 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:49.601 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.601 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:49.606 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.609 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=374.933µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:49.610 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.610 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:49.611 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.136697ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.615 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.599 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.618 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:49.618 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.619 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:49.621 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.622 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:49.626 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.629 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=303.365µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:49.630 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.630 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:49.631 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.62895ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.635 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.62 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.638 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:49.638 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.638 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:49.641 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.641 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:49.645 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.648 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=255.788µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:49.649 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.650 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:49.651 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.851515ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.655 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.639 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.657 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:49.657 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.658 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:49.661 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.661 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:49.664 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.667 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=224.63µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:49.667 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.667 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:49.669 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.738648ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.672 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.66 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.674 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:49.674 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.675 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:49.677 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.676 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.677 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.676 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:49.681 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.676 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.685 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=377.176µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:49.686 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.686 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:49.687 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.855875ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.676 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.690 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.676 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.693 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:49.693 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.694 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:49.696 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.696 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:49.700 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.702 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=218.559µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:49.703 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.703 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:49.704 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.260797ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.708 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.695 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.710 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:49.710 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.711 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:49.713 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.713 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:49.719 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.721 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=224.272µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:49.723 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.723 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:49.724 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.577164ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.727 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.712 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.730 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:49.730 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.755 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=1.045654525s] [2024/05/06 15:33:49.756 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=63563700-1a42-4f32-b7ce-5adba5eea0bd] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:49.756 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:49.756 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=1.64µs] [2024/05/06 15:33:49.756 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=1.026µs] [2024/05/06 15:33:49.756 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=906ns] [2024/05/06 15:33:49.756 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=623ns] [2024/05/06 15:33:49.756 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:49.756 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=843ns] [2024/05/06 15:33:49.756 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:49.756 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:49.760 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=63563700-1a42-4f32-b7ce-5adba5eea0bd] ["take time"=4.052247ms] [2024/05/06 15:33:49.760 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=63563700-1a42-4f32-b7ce-5adba5eea0bd] [2024/05/06 15:33:49.760 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:49.760 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:49.760 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:49.760 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:49.760 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:49.760 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:49.760 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:49.760 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=4.35339ms] [2024/05/06 15:33:49.760 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=782ef3ce-0b16-46fd-808f-38e3e0e8736f] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:49.767 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:49.767 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:49.783 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=15.746759ms] [2024/05/06 15:33:49.783 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:49.783 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=7f703b64-ca3b-4e00-b4da-f2ec2581db49] [runWorker=true] [2024/05/06 15:33:49.784 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:49.785 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:49.785 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:49.785 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:49.785 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:49.785 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:49.785 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:49.785 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:49.787 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:49.787 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:49.787 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:49.795 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:49.798 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:49.799 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:49.799 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:49.800 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:49.801 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:49.801 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:49.801 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:49.801 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:49.802 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=50] [cur_db=test] [sql="drop table if exists tp"] [user=] [2024/05/06 15:33:49.802 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:49.805 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:102, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.805 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:102, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create or replace placement policy x primary_region=\"cn-east-1\" regions=\"cn-east-1,cn-east\""] [2024/05/06 15:33:49.808 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=102] [conn=17] [category=ddl] [job="ID:102, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.810 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=77.131µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:49.811 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=102] [version=51] [2024/05/06 15:33:49.812 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.908237ms] [job="ID:102, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.816 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=102] [conn=17] [job="ID:102, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.804 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.818 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=102] [2024/05/06 15:33:49.818 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.818 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE tp(id int) placement policy x PARTITION BY RANGE (id) (\nPARTITION p0 VALUES LESS THAN (100) PLACEMENT POLICY x,\nPARTITION p1 VALUES LESS THAN (1000))"] [user=] [2024/05/06 15:33:49.821 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.821 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE tp(id int) placement policy x PARTITION BY RANGE (id) (\nPARTITION p0 VALUES LESS THAN (100) PLACEMENT POLICY x,\nPARTITION p1 VALUES LESS THAN (1000))"] [2024/05/06 15:33:49.825 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=106] [conn=17] [category=ddl] [job="ID:106, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.828 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=665.409µs] [gotSchemaVersion=52] [phyTblIDs="[103,104,105]"] [actionTypes="[3,3,3]"] [2024/05/06 15:33:49.829 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=106] [version=52] [2024/05/06 15:33:49.830 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.33241ms] [job="ID:106, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.833 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=106] [conn=17] [job="ID:106, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:103, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.82 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.836 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 15:33:49.836 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.839 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.839 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:107, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="create or replace placement policy x primary_region=\"cn-east-1\" regions=\"cn-east-1\""] [2024/05/06 15:33:49.845 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=17] [category=ddl] [job="ID:107, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.858 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=306.29µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:49.859 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=107] [version=53] [2024/05/06 15:33:49.860 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.399389ms] [job="ID:107, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.863 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=17] [job="ID:107, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.838 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.866 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 15:33:49.866 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.867 +08:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 15:33:49.867 +08:00] [WARN] [session.go:2287] ["run statement failed"] [schemaVersion=53] [error="[ddl:1221]Incorrect usage of OR REPLACE and IF NOT EXISTS"] [errorVerbose="[ddl:1221]Incorrect usage of OR REPLACE and IF NOT EXISTS\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:164\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePlacementPolicy\n\tpkg/ddl/ddl_api.go:8724\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreatePlacementPolicy\n\tpkg/executor/ddl.go:743\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:204\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1224\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:969\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:795\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:576\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2416\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2275\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:336\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:409\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:452\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateOrReplacePlacementPolicy\n\tpkg/ddl/placement_policy_test.go:532\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 17,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 15:33:49.867 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=53] [cur_db=test] [sql="drop table if exists tp"] [user=] [2024/05/06 15:33:49.869 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.869 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop table if exists tp"] [2024/05/06 15:33:49.873 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=108] [conn=17] [category=ddl] [job="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:103, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.875 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=57.078µs] [gotSchemaVersion=54] [phyTblIDs="[103,104,105]"] [actionTypes="[4,4,4]"] [2024/05/06 15:33:49.876 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=54] [2024/05/06 15:33:49.877 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.026955ms] [job="ID:108, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:103, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.880 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=108] [conn=17] [category=ddl] [job="ID:108, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:103, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.882 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=42.49µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:49.882 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=55] [2024/05/06 15:33:49.884 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=3.001593ms] [job="ID:108, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:103, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.890 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=108] [conn=17] [category=ddl] [job="ID:108, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:103, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.892 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=49.714µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:49.893 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=108] [version=56] [2024/05/06 15:33:49.895 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.878066ms] [job="ID:108, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.898 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=108] [elementID=1] [comment="partition ID is 104"] [2024/05/06 15:33:49.900 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=108] [elementID=2] [comment="partition ID is 105"] [2024/05/06 15:33:49.900 +08:00] [INFO] [delete_range.go:467] ["insert into delete-range table"] [category=ddl] [jobID=108] [elementID=3] [comment="table ID is 103"] [2024/05/06 15:33:49.901 +08:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="drop table"] [2024/05/06 15:33:49.901 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=108] [conn=17] [job="ID:108, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:103, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:49.868 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.904 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=108] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/06 15:33:49.905 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=108] [elementID=2] [startKey=748000000000000069] [endKey=74800000000000006a] [2024/05/06 15:33:49.906 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 15:33:49.906 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.907 +08:00] [INFO] [delete_range.go:247] ["delRange emulator complete task"] [category=ddl] [jobID=108] [elementID=3] [startKey=748000000000000067] [endKey=748000000000000068] [2024/05/06 15:33:49.908 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.908 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:109, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="drop placement policy if exists x"] [2024/05/06 15:33:49.913 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=17] [category=ddl] [job="ID:109, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.915 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=45.83µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:49.916 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=109] [version=57] [2024/05/06 15:33:49.917 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.0597ms] [job="ID:109, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.920 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=17] [category=ddl] [job="ID:109, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.922 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=41.669µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:49.923 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=109] [version=58] [2024/05/06 15:33:49.924 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.501185ms] [job="ID:109, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.927 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=17] [category=ddl] [job="ID:109, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.929 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=37.601µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [2024/05/06 15:33:49.930 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=109] [version=59] [2024/05/06 15:33:49.931 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.019248ms] [job="ID:109, Type:drop placement policy, State:done, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.934 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=17] [job="ID:109, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.907 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.937 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 15:33:49.937 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.938 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7f703b64-ca3b-4e00-b4da-f2ec2581db49] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:49.938 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:49.938 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=2.254µs] [2024/05/06 15:33:49.938 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=1.123µs] [2024/05/06 15:33:49.938 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=1.596µs] [2024/05/06 15:33:49.938 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=978ns] [2024/05/06 15:33:49.938 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:49.938 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=774ns] [2024/05/06 15:33:49.938 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:49.938 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:49.940 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=7f703b64-ca3b-4e00-b4da-f2ec2581db49] ["take time"=2.688853ms] [2024/05/06 15:33:49.940 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=7f703b64-ca3b-4e00-b4da-f2ec2581db49] [2024/05/06 15:33:49.940 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:49.940 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:49.940 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:49.940 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:49.940 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:49.940 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:49.940 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:49.940 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:49.940 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:49.940 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:49.940 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7f703b64-ca3b-4e00-b4da-f2ec2581db49] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:49.941 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7f703b64-ca3b-4e00-b4da-f2ec2581db49] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:49.941 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:49.941 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:49.941 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=4.097399ms] [2024/05/06 15:33:49.942 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:49.942 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:49.942 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:49.942 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:49.942 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:49.942 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCreateOrReplacePlacementPolicy (1.25s) === RUN TestGetDDLInfo [2024/05/06 15:33:49.958 +08:00] [INFO] [region_cache.go:2683] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 15:33:49.958 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:49.958 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:49.959 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:49.959 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:49.959 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [2024/05/06 15:33:49.960 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=2fcebc5c-dfbf-4622-adf9-2731930b542c] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:49.966 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:49.966 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:49.966 +08:00] [WARN] [domain.go:240] ["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:322\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:238\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:588\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1239\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:93\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:69\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:3584\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3576\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3526\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3311\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3277\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:227\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:200\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:68\ngithub.com/pingcap/tidb/pkg/ddl_test.TestGetDDLInfo\n\tpkg/ddl/stat_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 15:33:49.968 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.06581ms] [2024/05/06 15:33:49.968 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:49.968 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=cca57370-e7f6-4d21-aa36-7f8808301cdb] [runWorker=true] [2024/05/06 15:33:49.969 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:49.969 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:49.969 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:49.969 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:49.969 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:49.969 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:49.969 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:49.969 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:49.970 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 15:33:49.972 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:49.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.972 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:49.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 15:33:49.976 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.981 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.110231ms] [2024/05/06 15:33:49.981 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:49.983 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:49.983 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=3] [version=1] [2024/05/06 15:33:49.984 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.52313ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 15:33:49.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.988 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.971 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:49.990 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 15:33:49.990 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:49.990 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 15:33:49.991 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 15:33:49.995 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:49.995 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 15:33:50.001 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.007 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=867.944µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [2024/05/06 15:33:50.008 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.008 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=5] [version=2] [2024/05/06 15:33:50.008 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=2.031504ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:49.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.013 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:49.992 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.018 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 15:33:50.018 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.018 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 15:33:50.021 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.021 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 15:33:50.026 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.028 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=181.619µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [2024/05/06 15:33:50.029 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.029 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=7] [version=3] [2024/05/06 15:33:50.030 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.25749ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.034 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.019 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.036 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 15:33:50.036 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.036 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 15:33:50.038 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.039 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 15:33:50.044 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.047 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=162.913µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [2024/05/06 15:33:50.047 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.047 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=9] [version=4] [2024/05/06 15:33:50.049 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.135683ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.052 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.038 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.054 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 15:33:50.054 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.055 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 15:33:50.058 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.058 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 15:33:50.063 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.067 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=342.256µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [2024/05/06 15:33:50.068 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.068 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=11] [version=5] [2024/05/06 15:33:50.069 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.347691ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.076 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.056 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.079 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 15:33:50.079 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.080 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 15:33:50.082 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.082 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 15:33:50.086 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.089 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=215.333µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [2024/05/06 15:33:50.089 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.089 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=13] [version=6] [2024/05/06 15:33:50.090 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.150391ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.094 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.081 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.097 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 15:33:50.097 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.097 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 15:33:50.099 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.099 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 15:33:50.106 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.109 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=254.832µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [2024/05/06 15:33:50.110 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.110 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=15] [version=7] [2024/05/06 15:33:50.111 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.244577ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.116 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.098 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.120 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 15:33:50.120 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.120 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 15:33:50.123 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.122 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.124 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.122 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 15:33:50.131 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.122 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.137 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=205.5µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [2024/05/06 15:33:50.138 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.138 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=17] [version=8] [2024/05/06 15:33:50.138 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.176451ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.122 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.148 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.122 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.151 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 15:33:50.151 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.152 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 15:33:50.155 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.155 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 15:33:50.163 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.166 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=306.363µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [2024/05/06 15:33:50.167 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.167 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=19] [version=9] [2024/05/06 15:33:50.168 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.278354ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.171 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.154 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.174 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 15:33:50.174 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.174 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 15:33:50.177 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.177 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 15:33:50.182 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.184 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=263.954µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [2024/05/06 15:33:50.185 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.185 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=21] [version=10] [2024/05/06 15:33:50.186 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.027565ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.189 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.176 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.193 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 15:33:50.193 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.193 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 15:33:50.195 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.195 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 15:33:50.201 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.203 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=169.794µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [2024/05/06 15:33:50.204 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.204 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=23] [version=11] [2024/05/06 15:33:50.205 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.107269ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.209 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.194 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.212 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 15:33:50.212 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.212 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:50.212 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [2024/05/06 15:33:50.215 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.215 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:50.220 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.223 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=284.062µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [2024/05/06 15:33:50.224 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.224 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=25] [version=12] [2024/05/06 15:33:50.224 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.216555ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.228 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.213 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.231 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 15:33:50.231 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.231 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 15:33:50.233 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.233 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 15:33:50.237 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.241 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=344.134µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [2024/05/06 15:33:50.242 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.242 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=27] [version=13] [2024/05/06 15:33:50.243 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.416113ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.247 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.232 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.249 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 15:33:50.249 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.250 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:50.252 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.252 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:50.256 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.259 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=233.209µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [2024/05/06 15:33:50.260 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.260 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=29] [version=14] [2024/05/06 15:33:50.261 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.16189ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.265 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.251 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.267 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 15:33:50.267 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.268 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 15:33:50.270 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.270 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 15:33:50.274 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.277 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=212.603µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [2024/05/06 15:33:50.278 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.278 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=31] [version=15] [2024/05/06 15:33:50.279 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.17693ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.283 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.269 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.285 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 15:33:50.285 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.285 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:50.287 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.286 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.287 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.286 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:50.291 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.286 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.293 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=163.133µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [2024/05/06 15:33:50.294 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.294 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=33] [version=16] [2024/05/06 15:33:50.295 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.119064ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.286 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.299 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.286 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.301 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 15:33:50.301 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.301 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 15:33:50.303 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.303 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 15:33:50.307 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.310 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=178.517µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [2024/05/06 15:33:50.310 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.310 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=35] [version=17] [2024/05/06 15:33:50.311 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.162297ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.314 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.302 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.317 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 15:33:50.317 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.317 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 15:33:50.319 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.319 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 15:33:50.324 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.326 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=168.499µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [2024/05/06 15:33:50.327 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.327 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=37] [version=18] [2024/05/06 15:33:50.329 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=3.020081ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.332 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.318 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.335 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 15:33:50.335 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.335 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:50.338 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.338 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:50.343 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.347 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=396.221µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [2024/05/06 15:33:50.348 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.348 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=39] [version=19] [2024/05/06 15:33:50.348 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.12652ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.351 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.337 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.354 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 15:33:50.354 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.356 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:50.358 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.358 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:50.361 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.364 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=218.427µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [2024/05/06 15:33:50.365 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.365 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=41] [version=20] [2024/05/06 15:33:50.366 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.844774ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.369 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.357 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.372 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 15:33:50.372 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.372 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 15:33:50.375 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.373 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.375 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.373 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 15:33:50.379 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.373 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.382 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=157.135µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [2024/05/06 15:33:50.383 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.383 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=43] [version=21] [2024/05/06 15:33:50.384 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.240205ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.373 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.387 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.373 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.389 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 15:33:50.389 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.389 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 15:33:50.391 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.39 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.391 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.39 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 15:33:50.396 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.39 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.398 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=170.475µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [2024/05/06 15:33:50.399 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.399 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=45] [version=22] [2024/05/06 15:33:50.400 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.118669ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.39 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.403 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.39 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.405 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 15:33:50.405 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.405 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 15:33:50.407 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.407 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 15:33:50.411 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.414 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=313.806µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [2024/05/06 15:33:50.416 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.416 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=47] [version=23] [2024/05/06 15:33:50.417 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.955983ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.421 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.406 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.423 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 15:33:50.423 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.423 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [user=] [2024/05/06 15:33:50.426 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.426 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.schema_index_usage (\n\t\tTABLE_ID bigint(64),\n\t\tINDEX_ID bigint(21),\n\t\tQUERY_COUNT bigint(64),\n\t\tROWS_SELECTED bigint(64),\n\t\tLAST_USED_AT timestamp,\n\t\tPRIMARY KEY(TABLE_ID, INDEX_ID)\n\t);"] [2024/05/06 15:33:50.431 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.434 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=193.05µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [2024/05/06 15:33:50.435 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.435 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=49] [version=24] [2024/05/06 15:33:50.436 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.535146ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.440 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.425 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.443 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 15:33:50.443 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.443 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 15:33:50.446 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.446 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 15:33:50.450 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.452 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=192.678µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [2024/05/06 15:33:50.453 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.453 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=51] [version=25] [2024/05/06 15:33:50.454 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.403955ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.458 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.444 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.461 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 15:33:50.461 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.461 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 15:33:50.463 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.463 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 15:33:50.469 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.471 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=216.549µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [2024/05/06 15:33:50.472 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.472 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=53] [version=26] [2024/05/06 15:33:50.474 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.866339ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.479 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.462 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.481 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 15:33:50.482 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.482 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 15:33:50.484 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.484 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 15:33:50.489 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.491 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=186.826µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [2024/05/06 15:33:50.492 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.492 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=55] [version=27] [2024/05/06 15:33:50.493 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.58805ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.496 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.483 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.499 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 15:33:50.499 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.500 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:50.502 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.502 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 15:33:50.507 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.509 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=187.706µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [2024/05/06 15:33:50.510 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.510 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=57] [version=28] [2024/05/06 15:33:50.511 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=3.018916ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.515 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.501 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.517 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 15:33:50.517 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.518 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 15:33:50.520 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.519 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.520 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.519 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 15:33:50.524 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.519 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.526 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=162.258µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [2024/05/06 15:33:50.527 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.527 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=59] [version=29] [2024/05/06 15:33:50.529 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.724866ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.519 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.531 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.519 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.533 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 15:33:50.534 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.534 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 15:33:50.534 +08:00] [INFO] [ddl_api.go:1115] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [2024/05/06 15:33:50.536 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.536 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 15:33:50.540 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.543 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=277.295µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [2024/05/06 15:33:50.544 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.544 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=61] [version=30] [2024/05/06 15:33:50.545 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.779743ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.548 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.535 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.550 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 15:33:50.550 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.551 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:50.553 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.553 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:50.557 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.560 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=260.939µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [2024/05/06 15:33:50.561 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.561 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=63] [version=31] [2024/05/06 15:33:50.562 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.350146ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.565 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.552 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.567 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 15:33:50.567 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.568 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 15:33:50.569 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.569 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 15:33:50.573 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.576 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=215.755µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [2024/05/06 15:33:50.576 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.576 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=65] [version=32] [2024/05/06 15:33:50.578 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.786033ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.581 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.568 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.583 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 15:33:50.583 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.583 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 15:33:50.585 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.585 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 15:33:50.590 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.594 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=302.453µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [2024/05/06 15:33:50.595 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.595 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=67] [version=33] [2024/05/06 15:33:50.596 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.763968ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.599 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.584 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.602 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 15:33:50.602 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.602 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 15:33:50.604 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.604 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 15:33:50.608 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.609 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=138.057µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[3]"] [2024/05/06 15:33:50.610 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.610 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=69] [version=34] [2024/05/06 15:33:50.611 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.199608ms] [job="ID:69, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.614 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.603 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.616 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 15:33:50.616 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.619 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:50.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.619 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:50.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT job_id,\n\t\t\tdb_name,\n\t\t\ttable_name,\n\t\t\tquery,\n\t\t\tsession_id,\n\t\t\ttxnstart,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM information_schema.ddl_jobs,\n\t\t\tinformation_schema.cluster_tidb_trx,\n\t\t\tinformation_schema.cluster_processlist\n\t\tWHERE (ddl_jobs.state != 'synced' and ddl_jobs.state != 'cancelled')\n\t\t\tAND Find_in_set(ddl_jobs.table_id, cluster_tidb_trx.related_table_ids)\n\t\t\tAND cluster_tidb_trx.session_id = cluster_processlist.id\n\t);"] [2024/05/06 15:33:50.623 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.626 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=270.676µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[21]"] [2024/05/06 15:33:50.627 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.627 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=71] [version=35] [2024/05/06 15:33:50.628 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.406724ms] [job="ID:71, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:3, start time: 2024-05-06 15:33:50.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.631 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.618 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.634 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 15:33:50.634 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.635 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 15:33:50.637 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.637 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 15:33:50.641 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.643 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=211.096µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [2024/05/06 15:33:50.644 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.644 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=73] [version=36] [2024/05/06 15:33:50.646 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.725625ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.648 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.636 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.650 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 15:33:50.651 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.651 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 15:33:50.653 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.653 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 15:33:50.657 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.659 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=191.566µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [2024/05/06 15:33:50.659 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.659 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=75] [version=37] [2024/05/06 15:33:50.661 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.301863ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.664 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.652 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.666 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 15:33:50.666 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.667 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 15:33:50.668 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.669 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 15:33:50.673 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.675 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=167.074µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [2024/05/06 15:33:50.676 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.676 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=77] [version=38] [2024/05/06 15:33:50.677 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.152203ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.680 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.668 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.682 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 15:33:50.682 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.682 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 15:33:50.684 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.684 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 15:33:50.688 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.692 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=301.243µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [2024/05/06 15:33:50.692 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.692 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=79] [version=39] [2024/05/06 15:33:50.694 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.711007ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.697 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.683 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.700 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 15:33:50.700 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.700 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 15:33:50.702 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.703 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 15:33:50.707 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.710 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=279.914µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [2024/05/06 15:33:50.711 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.711 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=81] [version=40] [2024/05/06 15:33:50.712 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.347773ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.716 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.701 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.719 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 15:33:50.719 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.719 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 15:33:50.722 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.722 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 15:33:50.727 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.730 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=465.371µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [2024/05/06 15:33:50.731 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.731 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=83] [version=41] [2024/05/06 15:33:50.731 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.085586ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.735 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.72 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.738 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 15:33:50.738 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.738 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:50.740 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.740 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:50.744 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.747 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=274.237µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [2024/05/06 15:33:50.748 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.748 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=85] [version=42] [2024/05/06 15:33:50.749 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.305984ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.752 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.739 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.754 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 15:33:50.754 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.754 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 15:33:50.757 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.755 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.757 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.755 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [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(256),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 15:33:50.761 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.755 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.765 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=413.82µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [2024/05/06 15:33:50.766 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.766 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=87] [version=43] [2024/05/06 15:33:50.767 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.541139ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.755 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.770 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.755 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.773 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 15:33:50.773 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.773 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [user=] [2024/05/06 15:33:50.776 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.776 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.load_data_jobs (\n job_id bigint(64) NOT NULL AUTO_INCREMENT,\n expected_status ENUM('running', 'paused', 'canceled') NOT NULL DEFAULT 'running',\n create_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n start_time TIMESTAMP(6) NULL DEFAULT NULL,\n update_time TIMESTAMP(6) NULL DEFAULT NULL,\n end_time TIMESTAMP(6) NULL DEFAULT NULL,\n data_source TEXT NOT NULL,\n table_schema VARCHAR(64) NOT NULL,\n table_name VARCHAR(64) NOT NULL,\n import_mode VARCHAR(64) NOT NULL,\n create_user VARCHAR(32) NOT NULL,\n progress TEXT DEFAULT NULL,\n result_message TEXT DEFAULT NULL,\n error_message TEXT DEFAULT NULL,\n PRIMARY KEY (job_id),\n KEY (create_time),\n KEY (create_user));"] [2024/05/06 15:33:50.781 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.784 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=305.409µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [2024/05/06 15:33:50.784 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.784 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=89] [version=44] [2024/05/06 15:33:50.786 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.955648ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.789 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.775 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.792 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 15:33:50.792 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.793 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 15:33:50.795 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.795 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 15:33:50.799 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.802 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=288.842µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [2024/05/06 15:33:50.803 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.803 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=91] [version=45] [2024/05/06 15:33:50.804 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.571287ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.808 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.794 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.811 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 15:33:50.811 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.811 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:50.813 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.812 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.813 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.812 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:50.818 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.812 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.820 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=238.247µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [2024/05/06 15:33:50.821 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.821 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=93] [version=46] [2024/05/06 15:33:50.823 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.82995ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.812 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.826 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.812 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.828 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 15:33:50.828 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.829 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:50.831 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.831 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:50.835 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.837 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=252.346µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [2024/05/06 15:33:50.838 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.838 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=95] [version=47] [2024/05/06 15:33:50.839 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.288453ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.842 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.83 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.844 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 15:33:50.845 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.845 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 15:33:50.848 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.848 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 15:33:50.852 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.856 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=499.009µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [2024/05/06 15:33:50.857 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.857 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=97] [version=48] [2024/05/06 15:33:50.858 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.865954ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.862 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.846 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.866 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 15:33:50.866 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.866 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 15:33:50.869 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.869 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 15:33:50.874 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.877 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=224.666µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [2024/05/06 15:33:50.877 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.877 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=99] [version=49] [2024/05/06 15:33:50.879 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.533372ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.882 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.867 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.884 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 15:33:50.884 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.884 +08:00] [INFO] [session.go:3903] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [user=] [2024/05/06 15:33:50.886 +08:00] [INFO] [ddl_worker.go:253] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0; "] [table=true] [2024/05/06 15:33:50.886 +08:00] [INFO] [ddl.go:1067] ["start DDL job"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(100) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n keyspace_id bigint(8) NOT NULL DEFAULT -1);"] [2024/05/06 15:33:50.890 +08:00] [INFO] [ddl_worker.go:996] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.892 +08:00] [INFO] [domain.go:269] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=217.063µs] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [2024/05/06 15:33:50.893 +08:00] [INFO] [domain.go:848] ["session manager is nil"] [2024/05/06 15:33:50.893 +08:00] [INFO] [domain.go:867] ["mdl gets lock, update to owner"] [jobID=101] [version=50] [2024/05/06 15:33:50.894 +08:00] [INFO] [ddl_worker.go:1230] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.180617ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:2, start time: 2024-05-06 15:33:50.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.897 +08:00] [INFO] [ddl_worker.go:611] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2024-05-06 15:33:50.885 +0800 CST, Err:, ErrCount:0, SnapshotVersion:0"] [2024/05/06 15:33:50.899 +08:00] [INFO] [ddl.go:1169] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 15:33:50.899 +08:00] [INFO] [callback.go:139] ["performing DDL change, must reload"] [2024/05/06 15:33:50.921 +08:00] [INFO] [bootstrap.go:723] ["bootstrap successful"] ["take time"=951.588364ms] [2024/05/06 15:33:50.922 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=cca57370-e7f6-4d21-aa36-7f8808301cdb] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:50.922 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:50.922 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 73, tp add index"] [category=ddl] ["take time"=1.171µs] [2024/05/06 15:33:50.922 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 74, tp add index"] [category=ddl] ["take time"=943ns] [2024/05/06 15:33:50.922 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 75, tp add index"] [category=ddl] ["take time"=981ns] [2024/05/06 15:33:50.922 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 72, tp add index"] [category=ddl] ["take time"=1.637µs] [2024/05/06 15:33:50.922 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:50.922 +08:00] [INFO] [ddl_worker.go:184] ["DDL worker closed"] [worker="worker 71, tp general"] [category=ddl] ["take time"=692ns] [2024/05/06 15:33:50.922 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:50.922 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:50.926 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=cca57370-e7f6-4d21-aa36-7f8808301cdb] ["take time"=4.654603ms] [2024/05/06 15:33:50.926 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=cca57370-e7f6-4d21-aa36-7f8808301cdb] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:50.926 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:50.926 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:50.926 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:50.926 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:50.926 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:50.926 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:50.926 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:50.926 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=4.894466ms] [2024/05/06 15:33:50.926 +08:00] [INFO] [tidb.go:80] ["new domain"] [store=2fcebc5c-dfbf-4622-adf9-2731930b542c] ["ddl lease"=500ms] ["stats lease"=-1ns] ["index usage sync lease"=0s] [2024/05/06 15:33:50.931 +08:00] [WARN] [controller.go:185] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 15:33:50.932 +08:00] [INFO] [controller.go:172] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"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,\"DegradedModeWaitDuration\":0}"] [2024/05/06 15:33:50.941 +08:00] [INFO] [domain.go:302] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=50] ["start time"=9.521811ms] [2024/05/06 15:33:50.942 +08:00] [INFO] [domain.go:617] ["full load and reset schema validator"] [2024/05/06 15:33:50.942 +08:00] [INFO] [ddl.go:743] ["start DDL"] [category=ddl] [ID=24468d9f-fa3a-4a17-930b-25322a8e58d1] [runWorker=true] [2024/05/06 15:33:50.942 +08:00] [INFO] [ddl.go:706] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 15:33:50.943 +08:00] [WARN] [env.go:53] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 15:33:50.943 +08:00] [INFO] [delete_range.go:160] ["start delRange emulator"] [category=ddl] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:50.943 +08:00] [INFO] [job_table.go:316] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:50.943 +08:00] [INFO] [job_table.go:331] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:50.943 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:50.943 +08:00] [WARN] [domain.go:1305] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 15:33:50.943 +08:00] [INFO] [controller.go:435] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 15:33:50.945 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:50.945 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:50.945 +08:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 15:33:50.953 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:50.955 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:50.956 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:50.956 +08:00] [INFO] [domain.go:2112] ["dumpFileGcChecker started"] [2024/05/06 15:33:50.957 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:50.957 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:50.957 +08:00] [INFO] [task_manager.go:216] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 15:33:50.958 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:50.958 +08:00] [INFO] [wait_group_wrapper.go:130] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:50.959 +08:00] [INFO] [domain.go:1499] ["dist task scheduler manager started"] [2024/05/06 15:33:50.964 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=24468d9f-fa3a-4a17-930b-25322a8e58d1] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 15:33:50.964 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:50.964 +08:00] [INFO] [ddl_workerpool.go:83] ["closing workerPool"] [category=ddl] [2024/05/06 15:33:50.964 +08:00] [INFO] [delete_range.go:150] ["closing delRange"] [category=ddl] [2024/05/06 15:33:50.964 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 15:33:50.964 +08:00] [INFO] [ddl.go:872] ["DDL closed"] [category=ddl] [ID=24468d9f-fa3a-4a17-930b-25322a8e58d1] ["take time"=182.51µs] [2024/05/06 15:33:50.964 +08:00] [INFO] [ddl.go:698] ["stop DDL"] [category=ddl] [ID=24468d9f-fa3a-4a17-930b-25322a8e58d1] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1005] ["stopping ttlJobManager"] [2024/05/06 15:33:50.964 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:50.964 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [task_manager.go:193] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 15:33:50.964 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [job_manager.go:173] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1016] ["ttlJobManager exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [manager.go:151] ["fetchAndHandleRunnableTasksLoop done"] [2024/05/06 15:33:50.964 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1666] ["loadPrivilegeInLoop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1716] ["LoadSysVarCacheLoop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=24468d9f-fa3a-4a17-930b-25322a8e58d1] [ownerKey=/tidb/stats/owner] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1501] ["stopping dist task scheduler manager"] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=24468d9f-fa3a-4a17-930b-25322a8e58d1] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 15:33:50.964 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [handle_hist.go:183] ["SubLoadWorker exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1895] ["handleEvolvePlanTasksLoop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:2116] ["dumpFileGcChecker exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=handleEvolvePlanTasksLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:665] ["topNSlowQueryLoop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1852] ["globalBindHandleWorkerLoop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:693] ["infoSyncerKeeper exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:719] ["globalConfigSyncerKeeper exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1340] ["closestReplicaReadCheckLoop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:743] ["topologySyncerKeeper exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [manager.go:173] ["fetchAndFastCancelTasksLoop done"] [2024/05/06 15:33:50.964 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:886] ["loadSchemaInLoop exited."] [2024/05/06 15:33:50.964 +08:00] [INFO] [domain.go:1503] ["dist task scheduler manager stopped"] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 15:33:50.964 +08:00] [INFO] [wait_group_wrapper.go:137] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 15:33:50.965 +08:00] [INFO] [domain.go:1053] ["domain closed"] ["take time"=1.175835ms] [2024/05/06 15:33:50.965 +08:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 15:33:50.965 +08:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 15:33:50.965 +08:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 15:33:50.965 +08:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 15:33:50.965 +08:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 15:33:50.965 +08:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestGetDDLInfo (1.02s) FAIL coverage: 17.8% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/sandbox/linux-sandbox/10083/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test ================================================================================ [11,152 / 11,693] 258 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 2 of 43); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,162 / 11,695] 258 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 2 of 43); 32s remote-cache, linux-sandbox ... (70 actions running) [11,171 / 11,697] 258 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 20 of 48); 33s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,175 / 11,724] 258 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 20 of 48); 35s remote-cache, linux-sandbox ... (70 actions running) [11,187 / 11,724] 260 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 30s remote-cache, linux-sandbox ... (70 actions running) [11,193 / 11,730] 261 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,194 / 11,730] 262 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 32s remote-cache, linux-sandbox ... (70 actions running) [11,210 / 11,730] 263 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,215 / 11,730] 263 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,219 / 11,756] 263 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,221 / 11,758] 263 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [11,224 / 11,769] 263 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [11,225 / 11,769] 263 / 375 tests; Testing //pkg/session:session_test (shard 50 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,239 / 11,769] 264 / 375 tests; Testing //pkg/session:session_test (shard 1 of 50); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,241 / 11,769] 264 / 375 tests; Testing //pkg/session:session_test (shard 1 of 50); 30s remote-cache, linux-sandbox ... (70 actions running) [11,244 / 11,769] 264 / 375 tests; Testing //pkg/session:session_test (shard 1 of 50); 31s remote-cache, linux-sandbox ... (70 actions running) [11,246 / 11,802] 264 / 375 tests; Testing //pkg/session:session_test (shard 1 of 50); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,248 / 11,802] 264 / 375 tests; Testing //pkg/session:session_test (shard 1 of 50); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,266 / 11,823] 264 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 43); 30s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,274 / 11,904] 264 / 375 tests; Testing //br/pkg/backup:backup_test (shard 1 of 9); 24s remote-cache, linux-sandbox ... (70 actions running) [11,279 / 11,904] 265 / 375 tests; Testing //br/pkg/backup:backup_test (shard 1 of 9); 25s remote-cache, linux-sandbox ... (70 actions running) [11,279 / 11,904] 265 / 375 tests; Testing //br/pkg/backup:backup_test (shard 1 of 9); 27s remote-cache, linux-sandbox ... (70 actions running) [11,290 / 11,955] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,291 / 11,955] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 30s remote-cache, linux-sandbox ... (70 actions running) [11,292 / 11,955] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 32s remote-cache, linux-sandbox ... (70 actions running) [11,295 / 11,955] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,305 / 11,955] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,315 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,323 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,327 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 37s remote-cache, linux-sandbox ... (69 actions running) [11,334 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 39s remote-cache, linux-sandbox ... (70 actions running) [11,336 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [11,337 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,338 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,347 / 11,988] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [11,350 / 11,996] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [11,351 / 11,996] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,357 / 11,996] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [11,367 / 11,996] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [11,372 / 11,996] 265 / 375 tests; Testing //pkg/session:session_test (shard 2 of 50); 50s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,384 / 12,069] 265 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 34 of 48); 41s remote-cache, linux-sandbox ... (70 actions running) [11,393 / 12,069] 265 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 34 of 48); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,399 / 12,069] 265 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 34 of 48); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,402 / 12,069] 266 / 375 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 34 of 48); 44s remote-cache, linux-sandbox ... (68 actions running) [11,415 / 12,069] 268 / 375 tests; Testing //pkg/session:session_test (shard 49 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [11,417 / 12,069] 268 / 375 tests; Testing //pkg/session:session_test (shard 49 of 50); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,436 / 12,069] 268 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,436 / 12,069] 268 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [11,437 / 12,069] 268 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,448 / 12,069] 269 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [11,448 / 12,069] 269 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [11,450 / 12,069] 269 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [11,464 / 12,069] 271 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [11,472 / 12,069] 271 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [11,481 / 12,069] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,485 / 12,069] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,492 / 12,071] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,494 / 12,071] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [11,501 / 12,071] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [11,506 / 12,085] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,508 / 12,085] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,508 / 12,085] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [11,508 / 12,085] 273 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [11,508 / 12,085] 274 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [11,527 / 12,085] 275 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,542 / 12,132] 275 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [11,547 / 12,132] 275 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [11,552 / 12,132] 275 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,560 / 12,132] 276 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,570 / 12,132] 277 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 68s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,576 / 12,132] 277 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [11,584 / 12,132] 277 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 71s remote-cache, linux-sandbox ... (70 actions running) [11,586 / 12,138] 277 / 375 tests; Testing //pkg/session:session_test (shard 3 of 50); 72s remote-cache, linux-sandbox ... (70 actions running) [11,596 / 12,138] 278 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 43s remote-cache, linux-sandbox ... (70 actions running) [11,599 / 12,169] 278 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 44s remote-cache, linux-sandbox ... (70 actions running) [11,606 / 12,169] 278 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,612 / 12,169] 278 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 48s remote-cache, linux-sandbox ... (70 actions running) [11,618 / 12,169] 278 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,619 / 12,169] 278 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,639 / 12,224] 278 / 375 tests; Testing //pkg/session:session_test (shard 48 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [11,640 / 12,224] 278 / 375 tests; Testing //pkg/session:session_test (shard 48 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,648 / 12,233] 278 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,656 / 12,233] 278 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 25s remote-cache, linux-sandbox ... (70 actions running) [11,658 / 12,233] 279 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 26s remote-cache, linux-sandbox ... (70 actions running) [11,661 / 12,243] 279 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 28s remote-cache, linux-sandbox ... (70 actions running) [11,671 / 12,243] 282 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 30s remote-cache, linux-sandbox ... (70 actions running) [11,672 / 12,243] 282 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,679 / 12,243] 282 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 33s remote-cache, linux-sandbox ... (70 actions running) [11,682 / 12,243] 282 / 375 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 8 of 10); 34s remote-cache, linux-sandbox ... (70 actions running) [11,693 / 12,243] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,694 / 12,243] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 33s remote-cache, linux-sandbox ... (70 actions running) [11,694 / 12,243] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 34s remote-cache, linux-sandbox ... (70 actions running) [11,705 / 12,279] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,712 / 12,317] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,714 / 12,330] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [11,715 / 12,330] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,719 / 12,330] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [11,720 / 12,330] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,723 / 12,332] 282 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,734 / 12,332] 283 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [11,736 / 12,332] 283 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [11,739 / 12,332] 283 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,748 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,755 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,756 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [11,757 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,759 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [11,764 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,764 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [11,765 / 12,332] 285 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,776 / 12,332] 286 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 60s remote-cache, linux-sandbox ... (68 actions, 67 running) [11,776 / 12,332] 286 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [11,780 / 12,338] 287 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,786 / 12,338] 288 / 375 tests; Testing //pkg/session:session_test (shard 5 of 50); 63s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,797 / 12,344] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,801 / 12,344] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 34s remote-cache, linux-sandbox ... (70 actions running) [11,806 / 12,344] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 35s remote-cache, linux-sandbox ... (70 actions running) [11,811 / 12,344] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 36s remote-cache, linux-sandbox ... (70 actions running) [11,813 / 12,344] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,821 / 12,344] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 39s remote-cache, linux-sandbox ... (68 actions running) [11,824 / 12,384] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 41s remote-cache, linux-sandbox ... (70 actions running) [11,825 / 12,384] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 42s remote-cache, linux-sandbox ... (70 actions running) [11,832 / 12,384] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 44s remote-cache, linux-sandbox ... (70 actions running) [11,833 / 12,384] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 45s remote-cache, linux-sandbox ... (69 actions running) [11,845 / 12,449] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,847 / 12,449] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,847 / 12,449] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 49s remote-cache, linux-sandbox ... (70 actions running) [11,849 / 12,449] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,863 / 12,449] 288 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 52s remote-cache, linux-sandbox ... (70 actions running) [11,863 / 12,449] 289 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 53s remote-cache, linux-sandbox ... (70 actions running) [11,866 / 12,449] 289 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 55s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,870 / 12,449] 290 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 56s remote-cache, linux-sandbox ... (70 actions running) [11,871 / 12,500] 290 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,880 / 12,500] 290 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 59s remote-cache, linux-sandbox ... (70 actions running) [11,880 / 12,500] 290 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 60s remote-cache, linux-sandbox ... (70 actions running) [11,887 / 12,500] 291 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 61s remote-cache, linux-sandbox ... (70 actions running) [11,888 / 12,500] 291 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,888 / 12,500] 291 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 64s remote-cache, linux-sandbox ... (70 actions running) [11,889 / 12,500] 291 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 34 of 43); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,905 / 12,500] 292 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,912 / 12,530] 292 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,912 / 12,530] 293 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 39s remote-cache, linux-sandbox ... (70 actions running) [11,916 / 12,530] 293 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [11,920 / 12,543] 293 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,921 / 12,543] 293 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [11,922 / 12,543] 293 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,928 / 12,543] 293 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,928 / 12,543] 294 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [11,936 / 12,543] 294 / 375 tests; Testing //pkg/session:session_test (shard 46 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [11,938 / 12,543] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,938 / 12,543] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [11,952 / 12,543] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,957 / 12,581] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [11,959 / 12,581] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,964 / 12,581] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,967 / 12,581] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,969 / 12,581] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [11,974 / 12,586] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [11,974 / 12,586] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [11,974 / 12,586] 294 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [11,988 / 12,586] 295 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [11,992 / 12,586] 295 / 375 tests; Testing //pkg/session:session_test (shard 7 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,000 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 31s remote-cache, linux-sandbox ... (70 actions running) [12,003 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,011 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,012 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,014 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 36s remote-cache, linux-sandbox ... (70 actions running) [12,021 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 37s remote-cache, linux-sandbox ... (69 actions running) [12,024 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 39s remote-cache, linux-sandbox ... (70 actions running) [12,025 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,035 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 42s remote-cache, linux-sandbox ... (70 actions running) [12,037 / 12,586] 295 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 8 of 12); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,044 / 12,647] 295 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,044 / 12,647] 296 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [12,054 / 12,647] 296 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [12,057 / 12,647] 296 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,058 / 12,647] 296 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [12,067 / 12,647] 296 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 42s remote-cache, linux-sandbox ... (70 actions running) [12,071 / 12,647] 296 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [12,075 / 12,647] 296 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,082 / 12,647] 297 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [12,083 / 12,698] 297 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,089 / 12,698] 297 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [12,089 / 12,698] 297 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [12,090 / 12,698] 298 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [12,101 / 12,698] 299 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,109 / 12,698] 299 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [12,123 / 12,698] 299 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,127 / 12,698] 299 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,127 / 12,698] 299 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [12,132 / 12,698] 299 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [12,135 / 12,698] 299 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,136 / 12,698] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,138 / 12,720] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [12,148 / 12,720] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [12,148 / 12,720] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [12,152 / 12,720] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [12,153 / 12,746] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,167 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,171 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,174 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,179 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [12,185 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [12,186 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,188 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,200 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [12,200 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [12,201 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 84s remote-cache, linux-sandbox ... (70 actions running) [12,210 / 12,764] 300 / 375 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,218 / 12,764] 301 / 375 tests; Testing //pkg/session:session_test (shard 12 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,225 / 12,764] 301 / 375 tests; Testing //pkg/session:session_test (shard 12 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [12,227 / 12,764] 302 / 375 tests; Testing //pkg/session:session_test (shard 12 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [12,241 / 12,764] 303 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 24 of 43); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,251 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,253 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 35s remote-cache, linux-sandbox ... (69 actions running) [12,260 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,262 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,266 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,270 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [12,272 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 42s remote-cache, linux-sandbox ... (70 actions running) [12,279 / 12,764] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [12,280 / 12,766] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,281 / 12,766] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [12,288 / 12,766] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 47s remote-cache, linux-sandbox ... (64 actions, 59 running) [12,298 / 12,793] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,300 / 12,793] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [12,302 / 12,793] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,315 / 12,793] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,316 / 12,793] 304 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [12,316 / 12,793] 305 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [12,317 / 12,793] 305 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,318 / 12,793] 305 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,320 / 12,793] 305 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 59s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,332 / 12,793] 305 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,332 / 12,793] 305 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,332 / 12,793] 305 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [12,340 / 12,793] 306 / 375 tests; Testing //pkg/executor:executor_test (shard 42 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [12,349 / 12,816] 306 / 375 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 1 of 37); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,355 / 12,816] 306 / 375 tests; Testing //pkg/session:session_test (shard 14 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,357 / 12,816] 306 / 375 tests; Testing //pkg/session:session_test (shard 14 of 50); 36s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,364 / 12,816] 306 / 375 tests; Testing //pkg/session:session_test (shard 14 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [12,368 / 12,816] 306 / 375 tests; Testing //pkg/session:session_test (shard 14 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [12,370 / 12,816] 306 / 375 tests; Testing //pkg/session:session_test (shard 43 of 50); 39s remote-cache, linux-sandbox ... (70 actions running) [12,378 / 12,816] 306 / 375 tests; Testing //pkg/session:session_test (shard 43 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [12,378 / 12,816] 306 / 375 tests; Testing //pkg/session:session_test (shard 43 of 50); 42s remote-cache, linux-sandbox ... (70 actions running) [12,378 / 12,816] 307 / 375 tests; Testing //pkg/session:session_test (shard 43 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [12,390 / 12,840] 307 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,396 / 12,840] 307 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,403 / 12,840] 307 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,409 / 12,840] 307 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,414 / 12,840] 307 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 48s remote-cache, linux-sandbox ... (68 actions running) [12,417 / 12,840] 307 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 49s remote-cache, linux-sandbox ... (68 actions running) [12,422 / 12,840] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 50s remote-cache, linux-sandbox ... (70 actions running) [12,426 / 12,840] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,432 / 12,840] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,437 / 12,840] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 54s remote-cache, linux-sandbox ... (70 actions running) [12,437 / 12,840] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 55s remote-cache, linux-sandbox ... (70 actions running) [12,440 / 12,878] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,447 / 12,880] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,448 / 12,880] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 59s remote-cache, linux-sandbox ... (70 actions running) [12,456 / 12,901] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 60s remote-cache, linux-sandbox ... (70 actions running) [12,456 / 12,901] 308 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 62s remote-cache, linux-sandbox ... (70 actions running) [12,469 / 12,918] 309 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 63s remote-cache, linux-sandbox ... (69 actions running) [12,472 / 12,918] 309 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,476 / 12,918] 309 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,478 / 12,918] 309 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,486 / 12,918] 309 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,488 / 12,918] 309 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 69s remote-cache, linux-sandbox ... (70 actions running) [12,488 / 12,918] 310 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 72s remote-cache, linux-sandbox ... (70 actions running) [12,498 / 12,918] 311 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 73s remote-cache, linux-sandbox ... (70 actions running) [12,500 / 12,918] 311 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,503 / 12,933] 311 / 375 tests; Testing //pkg/bindinfo:bindinfo_test (shard 28 of 43); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,512 / 12,933] 314 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 46s remote-cache, linux-sandbox ... (70 actions running) [12,518 / 12,933] 314 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 47s remote-cache, linux-sandbox ... (70 actions running) [12,519 / 12,933] 314 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 48s remote-cache, linux-sandbox ... (70 actions running) [12,531 / 12,933] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 49s remote-cache, linux-sandbox ... (70 actions running) [12,534 / 12,933] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,541 / 12,933] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,544 / 12,933] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,549 / 12,933] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,550 / 12,933] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 55s remote-cache, linux-sandbox ... (70 actions running) [12,550 / 12,933] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 57s remote-cache, linux-sandbox ... (70 actions running) [12,557 / 12,979] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,559 / 12,979] 315 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,559 / 12,979] 316 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 61s remote-cache, linux-sandbox ... (70 actions running) [12,565 / 12,979] 316 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,565 / 12,979] 316 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 63s remote-cache, linux-sandbox ... (70 actions running) [12,579 / 13,020] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 65s remote-cache, linux-sandbox ... (70 actions running) [12,581 / 13,020] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,584 / 13,020] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,588 / 13,020] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,591 / 13,020] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 70s remote-cache, linux-sandbox ... (70 actions running) [12,595 / 13,035] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 72s remote-cache, linux-sandbox ... (70 actions running) [12,595 / 13,035] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 73s remote-cache, linux-sandbox ... (70 actions running) [12,596 / 13,035] 317 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 75s remote-cache, linux-sandbox ... (70 actions running) [12,604 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,605 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,609 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,613 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 80s remote-cache, linux-sandbox ... (70 actions running) [12,615 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,617 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,624 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 84s remote-cache, linux-sandbox ... (70 actions running) [12,624 / 13,035] 318 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 85s remote-cache, linux-sandbox ... (70 actions running) [12,624 / 13,035] 319 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 86s remote-cache, linux-sandbox ... (70 actions running) [12,630 / 13,035] 319 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 88s remote-cache, linux-sandbox ... (70 actions running) [12,631 / 13,035] 319 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,635 / 13,035] 319 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 91s remote-cache, linux-sandbox ... (70 actions running) [12,635 / 13,035] 319 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 92s remote-cache, linux-sandbox ... (70 actions running) [12,638 / 13,035] 319 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 94s remote-cache, linux-sandbox ... (70 actions running) [12,640 / 13,035] 319 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 96s remote-cache, linux-sandbox ... (70 actions running) [12,642 / 13,035] 320 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 97s remote-cache, linux-sandbox ... (70 actions running) [12,645 / 13,035] 320 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 99s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,649 / 13,035] 320 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 100s remote-cache, linux-sandbox ... (70 actions running) [12,651 / 13,035] 320 / 375 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 1 of 12); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,662 / 13,055] 320 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [12,664 / 13,055] 320 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,664 / 13,055] 320 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [12,667 / 13,055] 320 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [12,667 / 13,055] 320 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 58s remote-cache, linux-sandbox ... (68 actions running) [12,673 / 13,055] 321 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,676 / 13,055] 321 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,681 / 13,077] 321 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,685 / 13,077] 321 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [12,686 / 13,077] 321 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [12,687 / 13,077] 321 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,687 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [12,692 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [12,693 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,693 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 71s remote-cache, linux-sandbox ... (70 actions running) [12,706 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,706 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [12,713 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,715 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [12,715 / 13,077] 322 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [12,717 / 13,077] 323 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [12,721 / 13,077] 323 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [12,722 / 13,077] 323 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,722 / 13,077] 323 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 87s remote-cache, linux-sandbox ... (70 actions running) [12,722 / 13,077] 323 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [12,727 / 13,077] 323 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,731 / 13,079] 324 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,734 / 13,079] 324 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,738 / 13,079] 324 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 93s remote-cache, linux-sandbox ... (70 actions running) [12,740 / 13,079] 324 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,745 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,750 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,752 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 98s remote-cache, linux-sandbox ... (70 actions running) [12,753 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,756 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 103s remote-cache, linux-sandbox ... (65 actions, 64 running) [12,758 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 104s remote-cache, linux-sandbox ... (70 actions running) [12,760 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 106s remote-cache, linux-sandbox ... (70 actions running) [12,765 / 13,079] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,768 / 13,081] 325 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 109s remote-cache, linux-sandbox ... (70 actions running) [12,770 / 13,081] 326 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 111s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,778 / 13,081] 326 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [12,778 / 13,081] 326 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 113s remote-cache, linux-sandbox ... (70 actions running) [12,782 / 13,081] 327 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 114s remote-cache, linux-sandbox ... (67 actions, 65 running) [12,788 / 13,081] 327 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 115s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,791 / 13,081] 327 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,791 / 13,081] 327 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 118s remote-cache, linux-sandbox ... (70 actions running) [12,796 / 13,081] 327 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 120s remote-cache, linux-sandbox ... (70 actions running) [12,797 / 13,081] 327 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 121s remote-cache, linux-sandbox ... (70 actions running) [12,800 / 13,081] 327 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 123s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,806 / 13,081] 328 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 124s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,811 / 13,092] 329 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 125s remote-cache, linux-sandbox ... (70 actions running) [12,815 / 13,092] 329 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 127s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,820 / 13,094] 329 / 375 tests; Testing //pkg/session:session_test (shard 18 of 50); 128s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,822 / 13,094] 329 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,825 / 13,094] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,836 / 13,094] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,838 / 13,094] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [12,838 / 13,094] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [12,844 / 13,094] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [12,844 / 13,094] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [12,848 / 13,141] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,850 / 13,141] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,853 / 13,141] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [12,855 / 13,141] 330 / 375 tests; Testing //pkg/session:session_test (shard 40 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,857 / 13,141] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,862 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 42s remote-cache, linux-sandbox ... (70 actions running) [12,863 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [12,865 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,867 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,867 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [12,868 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,868 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [12,874 / 13,156] 330 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [12,874 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [12,879 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,885 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,886 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [12,890 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,892 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,894 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,896 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,896 / 13,156] 331 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,896 / 13,156] 332 / 375 tests; Testing //pkg/session:session_test (shard 20 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [12,903 / 13,156] 332 / 375 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 61s remote-cache, linux-sandbox ... (70 actions running) [12,903 / 13,156] 332 / 375 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 62s remote-cache, linux-sandbox ... (70 actions running) [12,909 / 13,156] 332 / 375 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,911 / 13,177] 332 / 375 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,918 / 13,177] 332 / 375 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 6 of 14); 61s remote-cache, linux-sandbox ... (70 actions running) [12,920 / 13,177] 332 / 375 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 6 of 14); 63s remote-cache, linux-sandbox ... (70 actions running) [12,926 / 13,177] 332 / 375 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 6 of 14); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,928 / 13,177] 332 / 375 tests; Testing //pkg/executor:executor_test (shard 21 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,930 / 13,177] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,932 / 13,177] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,933 / 13,177] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [12,935 / 13,177] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [12,935 / 13,177] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [12,937 / 13,184] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [12,940 / 13,184] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 58s remote-cache, linux-sandbox ... (67 actions, 64 running) [12,941 / 13,184] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,946 / 13,184] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [12,951 / 13,184] 332 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,956 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [12,961 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,969 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,969 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [12,973 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,976 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [12,976 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 72s remote-cache, linux-sandbox ... (70 actions running) [12,977 / 13,195] 334 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [12,983 / 13,195] 335 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [12,988 / 13,195] 336 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,993 / 13,201] 336 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,996 / 13,208] 336 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [13,007 / 13,210] 337 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,010 / 13,210] 337 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,013 / 13,210] 338 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 83s remote-cache, linux-sandbox ... (70 actions running) [13,018 / 13,210] 338 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,023 / 13,210] 338 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 85s remote-cache, linux-sandbox ... (70 actions running) [13,023 / 13,210] 338 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [13,026 / 13,210] 339 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [13,027 / 13,210] 339 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,031 / 13,216] 339 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,036 / 13,216] 339 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,040 / 13,218] 339 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 94s remote-cache, linux-sandbox ... (70 actions running) [13,041 / 13,218] 339 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 96s remote-cache, linux-sandbox ... (70 actions running) [13,049 / 13,224] 340 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,051 / 13,224] 340 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 99s remote-cache, linux-sandbox ... (70 actions running) [13,055 / 13,224] 341 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 101s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,060 / 13,224] 341 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 102s remote-cache, linux-sandbox ... (70 actions running) [13,062 / 13,224] 341 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,062 / 13,224] 341 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 105s remote-cache, linux-sandbox ... (70 actions running) [13,062 / 13,224] 341 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 107s remote-cache, linux-sandbox ... (70 actions running) [13,064 / 13,246] 342 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 109s remote-cache, linux-sandbox ... (70 actions running) [13,073 / 13,246] 342 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 110s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,078 / 13,246] 342 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 111s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,080 / 13,246] 342 / 375 tests; Testing //pkg/session:session_test (shard 21 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [13,085 / 13,248] 343 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 89s remote-cache, linux-sandbox ... (70 actions running) [13,088 / 13,250] 343 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,094 / 13,250] 343 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,097 / 13,250] 345 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 92s remote-cache, linux-sandbox ... (70 actions running) [13,099 / 13,250] 346 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 93s remote-cache, linux-sandbox ... (70 actions running) [13,099 / 13,250] 346 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 95s remote-cache, linux-sandbox ... (70 actions running) [13,106 / 13,250] 348 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 96s remote-cache, linux-sandbox ... (70 actions running) [13,107 / 13,250] 348 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,110 / 13,252] 348 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 99s remote-cache, linux-sandbox ... (70 actions running) [13,112 / 13,252] 348 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 100s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,121 / 13,252] 348 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,124 / 13,257] 348 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 103s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,127 / 13,263] 349 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,131 / 13,263] 349 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 105s remote-cache, linux-sandbox ... (70 actions running) [13,132 / 13,263] 349 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 106s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,136 / 13,263] 349 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,136 / 13,263] 349 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 109s remote-cache, linux-sandbox ... (70 actions running) [13,137 / 13,263] 350 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 110s remote-cache, linux-sandbox ... (69 actions running) [13,143 / 13,263] 350 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 112s remote-cache, linux-sandbox ... (70 actions running) [13,144 / 13,267] 350 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 114s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,149 / 13,304] 352 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 115s remote-cache, linux-sandbox ... (70 actions running) [13,153 / 13,304] 352 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 116s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,154 / 13,304] 352 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 117s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,157 / 13,304] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 33 of 37); 118s remote-cache, linux-sandbox ... (70 actions running) [13,159 / 13,304] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 103s remote-cache, linux-sandbox ... (70 actions running) [13,161 / 13,304] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 105s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,163 / 13,304] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 106s remote-cache, linux-sandbox ... (70 actions running) [13,165 / 13,304] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,168 / 13,304] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 109s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,169 / 13,355] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 110s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,172 / 13,392] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 111s remote-cache, linux-sandbox ... (70 actions running) [13,172 / 13,392] 353 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 113s remote-cache, linux-sandbox ... (70 actions running) [13,178 / 13,392] 354 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 115s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,180 / 13,398] 354 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 116s remote-cache, linux-sandbox ... (70 actions running) [13,184 / 13,438] 354 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 118s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,185 / 13,438] 354 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 37); 119s remote-cache, linux-sandbox ... (70 actions running) [13,186 / 13,438] 355 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [13,188 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 45s remote-cache, linux-sandbox ... (70 actions running) [13,189 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [13,191 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [13,192 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,192 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 57s remote-cache, linux-sandbox ... (70 actions running) [13,193 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,194 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,195 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [13,196 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,197 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,198 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [13,199 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,199 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [13,200 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,201 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,202 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,202 / 13,438] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [13,203 / 13,456] 356 / 375 tests; Testing //pkg/session:session_test (shard 27 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,206 / 13,456] 356 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [13,207 / 13,456] 356 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,209 / 13,456] 356 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,211 / 13,456] 356 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 81s remote-cache, linux-sandbox ... (70 actions running) [13,213 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 83s remote-cache, linux-sandbox ... (70 actions running) [13,214 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,214 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [13,216 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [13,216 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 93s remote-cache, linux-sandbox ... (70 actions running) [13,217 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 95s remote-cache, linux-sandbox ... (70 actions running) [13,218 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,219 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 103s remote-cache, linux-sandbox ... (70 actions running) [13,221 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,222 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 106s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,223 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 107s remote-cache, linux-sandbox ... (70 actions running) [13,224 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 108s remote-cache, linux-sandbox ... (70 actions running) [13,226 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 110s remote-cache, linux-sandbox ... (70 actions running) [13,227 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 112s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,227 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 113s remote-cache, linux-sandbox ... (70 actions running) [13,227 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 119s remote-cache, linux-sandbox ... (70 actions running) [13,229 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 28 of 50); 121s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,236 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 114s remote-cache, linux-sandbox ... (70 actions running) [13,239 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 116s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,240 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 117s remote-cache, linux-sandbox ... (70 actions running) [13,242 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 118s remote-cache, linux-sandbox ... (70 actions running) [13,242 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 120s remote-cache, linux-sandbox ... (70 actions running) [13,245 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 122s remote-cache, linux-sandbox ... (70 actions running) [13,246 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 125s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,246 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 126s remote-cache, linux-sandbox ... (70 actions running) [13,246 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 130s remote-cache, linux-sandbox ... (70 actions running) [13,247 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 132s remote-cache, linux-sandbox ... (70 actions running) [13,248 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 136s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,249 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 137s remote-cache, linux-sandbox ... (70 actions running) [13,251 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 139s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,251 / 13,456] 357 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 140s remote-cache, linux-sandbox ... (70 actions running) [13,251 / 13,456] 358 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 142s remote-cache, linux-sandbox ... (70 actions running) [13,255 / 13,456] 359 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 143s remote-cache, linux-sandbox ... (70 actions running) [13,255 / 13,456] 359 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 144s remote-cache, linux-sandbox ... (70 actions running) [13,256 / 13,456] 359 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 146s remote-cache, linux-sandbox ... (70 actions running) [13,256 / 13,456] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 149s remote-cache, linux-sandbox ... (70 actions running) [13,257 / 13,456] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 150s remote-cache, linux-sandbox ... (70 actions running) [13,258 / 13,456] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 152s remote-cache, linux-sandbox ... (70 actions running) [13,259 / 13,456] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 154s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,264 / 13,456] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 155s remote-cache, linux-sandbox ... (70 actions running) [13,269 / 13,460] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 156s remote-cache, linux-sandbox ... (70 actions running) [13,273 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 158s remote-cache, linux-sandbox ... (70 actions running) [13,273 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 161s remote-cache, linux-sandbox ... (70 actions running) [13,275 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 163s remote-cache, linux-sandbox ... (70 actions running) [13,275 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 165s remote-cache, linux-sandbox ... (70 actions running) [13,278 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 29 of 50); 166s remote-cache, linux-sandbox ... (70 actions running) [13,280 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 133s remote-cache, linux-sandbox ... (70 actions running) [13,281 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 134s remote-cache, linux-sandbox ... (70 actions running) [13,282 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 137s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,282 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 138s remote-cache, linux-sandbox ... (70 actions running) [13,283 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 140s remote-cache, linux-sandbox ... (70 actions running) [13,283 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 143s remote-cache, linux-sandbox ... (70 actions running) [13,284 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 144s remote-cache, linux-sandbox ... (70 actions running) [13,285 / 13,462] 360 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 16 of 37); 145s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,287 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [13,288 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,288 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 73s remote-cache, linux-sandbox ... (70 actions running) [13,290 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,290 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [13,291 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,291 / 13,462] 360 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 81s remote-cache, linux-sandbox ... (70 actions running) [13,291 / 13,462] 361 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [13,294 / 13,462] 361 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 84s remote-cache, linux-sandbox ... (70 actions running) [13,295 / 13,462] 361 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,302 / 13,468] 361 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,304 / 13,468] 361 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,304 / 13,468] 361 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [13,305 / 13,468] 361 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 91s remote-cache, linux-sandbox ... (70 actions running) [13,309 / 13,480] 362 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 92s remote-cache, linux-sandbox ... (70 actions running) [13,311 / 13,480] 362 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 93s remote-cache, linux-sandbox ... (70 actions running) [13,312 / 13,480] 362 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 96s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,312 / 13,480] 362 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 98s remote-cache, linux-sandbox ... (70 actions running) [13,312 / 13,480] 362 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 100s remote-cache, linux-sandbox ... (70 actions running) [13,315 / 13,480] 362 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,319 / 13,480] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 103s remote-cache, linux-sandbox ... (70 actions running) [13,321 / 13,480] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 106s remote-cache, linux-sandbox ... (67 actions, 66 running) [13,322 / 13,480] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 107s remote-cache, linux-sandbox ... (70 actions running) [13,323 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,326 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 110s remote-cache, linux-sandbox ... (70 actions running) [13,327 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 111s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,327 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 113s remote-cache, linux-sandbox ... (70 actions running) [13,328 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 114s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,329 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 116s remote-cache, linux-sandbox ... (70 actions running) [13,330 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 118s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,330 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 119s remote-cache, linux-sandbox ... (70 actions running) [13,330 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 121s remote-cache, linux-sandbox ... (70 actions running) [13,331 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 122s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,332 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 123s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,333 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 125s remote-cache, linux-sandbox ... (70 actions running) [13,333 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 129s remote-cache, linux-sandbox ... (70 actions running) [13,334 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 130s remote-cache, linux-sandbox ... (70 actions running) [13,338 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 132s remote-cache, linux-sandbox ... (70 actions running) [13,338 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 133s remote-cache, linux-sandbox ... (70 actions running) [13,341 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 134s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,341 / 13,486] 363 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 136s remote-cache, linux-sandbox ... (70 actions running) [13,341 / 13,486] 364 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 137s remote-cache, linux-sandbox ... (70 actions running) [13,344 / 13,486] 364 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 139s remote-cache, linux-sandbox ... (70 actions running) [13,348 / 13,486] 364 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 140s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,350 / 13,486] 364 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 142s remote-cache, linux-sandbox ... (70 actions running) [13,352 / 13,486] 364 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 143s remote-cache, linux-sandbox ... (70 actions running) [13,352 / 13,486] 364 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 145s remote-cache, linux-sandbox ... (70 actions running) [13,353 / 13,486] 365 / 375 tests; Testing //pkg/session:session_test (shard 34 of 50); 146s remote-cache, linux-sandbox ... (70 actions running) [13,356 / 13,486] 365 / 375 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 14 of 17); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,357 / 13,486] 365 / 375 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 14 of 17); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,357 / 13,486] 365 / 375 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 14 of 17); 57s remote-cache, linux-sandbox ... (70 actions running) [13,359 / 13,486] 366 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 27 of 37); 49s remote-cache, linux-sandbox ... (70 actions running) [13,359 / 13,486] 366 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 27 of 37); 50s remote-cache, linux-sandbox ... (70 actions running) [13,361 / 13,486] 366 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 27 of 37); 51s remote-cache, linux-sandbox ... (70 actions running) [13,361 / 13,486] 366 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 27 of 37); 53s remote-cache, linux-sandbox ... (70 actions running) [13,362 / 13,486] 367 / 375 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 27 of 37); 54s remote-cache, linux-sandbox ... (70 actions running) [13,363 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 4 of 36); 43s remote-cache, linux-sandbox ... (70 actions running) [13,364 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 4 of 36); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,365 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 5); 44s remote-cache, linux-sandbox ... (70 actions running) [13,367 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 5); 46s remote-cache, linux-sandbox ... (70 actions running) [13,367 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 5); 51s remote-cache, linux-sandbox ... (70 actions running) [13,370 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 5); 53s remote-cache, linux-sandbox ... (70 actions running) [13,372 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 5); 54s remote-cache, linux-sandbox ... (70 actions running) [13,373 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 5); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,376 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 2 of 5); 37s remote-cache, linux-sandbox ... (70 actions running) [13,377 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 2 of 5); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,377 / 13,486] 367 / 375 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 2 of 5); 41s remote-cache, linux-sandbox ... (70 actions running) [13,382 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 42s remote-cache, linux-sandbox ... (70 actions running) [13,382 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 44s remote-cache, linux-sandbox ... (70 actions running) [13,382 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 45s remote-cache, linux-sandbox ... (70 actions running) [13,385 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 46s remote-cache, linux-sandbox ... (70 actions running) [13,386 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,387 / 13,486] 367 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 49s remote-cache, linux-sandbox ... (70 actions running) [13,389 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,390 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 6 of 36); 52s remote-cache, linux-sandbox ... (70 actions running) [13,391 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,392 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 53s remote-cache, linux-sandbox ... (70 actions running) [13,392 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 55s remote-cache, linux-sandbox ... (70 actions running) [13,393 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 57s remote-cache, linux-sandbox ... (70 actions running) [13,393 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 59s remote-cache, linux-sandbox ... (70 actions running) [13,394 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 60s remote-cache, linux-sandbox ... (70 actions running) [13,395 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 61s remote-cache, linux-sandbox ... (70 actions running) [13,396 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,397 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 64s remote-cache, linux-sandbox ... (70 actions running) [13,398 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 65s remote-cache, linux-sandbox ... (70 actions running) [13,398 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 71s remote-cache, linux-sandbox ... (70 actions running) [13,398 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 73s remote-cache, linux-sandbox ... (70 actions running) [13,402 / 13,486] 368 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 74s remote-cache, linux-sandbox ... (70 actions running) [13,403 / 13,486] 369 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 30 of 36); 76s remote-cache, linux-sandbox ... (70 actions running) [13,408 / 13,486] 369 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 71s remote-cache, linux-sandbox ... (70 actions running) [13,410 / 13,486] 369 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,413 / 13,486] 369 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 74s remote-cache, linux-sandbox ... (70 actions running) [13,414 / 13,486] 369 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 76s remote-cache, linux-sandbox ... (70 actions running) [13,414 / 13,486] 369 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 78s remote-cache, linux-sandbox ... (70 actions running) [13,416 / 13,486] 370 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,417 / 13,486] 370 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 81s remote-cache, linux-sandbox ... (70 actions running) [13,417 / 13,486] 370 / 375 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 84s remote-cache, linux-sandbox ... (70 actions running) [13,422 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,422 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 59s remote-cache, linux-sandbox ... (70 actions running) [13,426 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,426 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 62s remote-cache, linux-sandbox ... (70 actions running) [13,426 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 64s remote-cache, linux-sandbox ... (70 actions running) [13,426 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 65s remote-cache, linux-sandbox ... (70 actions running) [13,428 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 67s remote-cache, linux-sandbox ... (70 actions running) [13,430 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 69s remote-cache, linux-sandbox ... (70 actions running) [13,431 / 13,486] 371 / 375 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 11); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,432 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 63s remote-cache, linux-sandbox ... (70 actions running) [13,435 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 65s remote-cache, linux-sandbox ... (70 actions running) [13,437 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 66s remote-cache, linux-sandbox ... (70 actions running) [13,437 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 68s remote-cache, linux-sandbox ... (70 actions running) [13,439 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 69s remote-cache, linux-sandbox ... (70 actions running) [13,445 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 70s remote-cache, linux-sandbox ... (70 actions running) [13,446 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,446 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 73s remote-cache, linux-sandbox ... (70 actions running) [13,447 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 75s remote-cache, linux-sandbox ... (70 actions running) [13,447 / 13,486] 371 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 76s remote-cache, linux-sandbox ... (70 actions running) [13,448 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 78s remote-cache, linux-sandbox ... (70 actions running) [13,449 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 80s remote-cache, linux-sandbox ... (70 actions running) [13,450 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 81s remote-cache, linux-sandbox ... (70 actions running) [13,451 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,456 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 84s remote-cache, linux-sandbox ... (60 actions running) [13,459 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 86s remote-cache, linux-sandbox ... (54 actions running) [13,459 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 90s remote-cache, linux-sandbox ... (54 actions running) [13,460 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 92s remote-cache, linux-sandbox ... (52 actions running) [13,460 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 94s remote-cache, linux-sandbox ... (52 actions running) [13,461 / 13,486] 372 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 96s remote-cache, linux-sandbox ... (50 actions running) [13,462 / 13,486] 373 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 98s remote-cache, linux-sandbox ... (48 actions running) [13,463 / 13,486] 373 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 99s remote-cache, linux-sandbox ... (46 actions running) [13,465 / 13,486] 373 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 101s remote-cache, linux-sandbox ... (42 actions running) [13,468 / 13,486] 373 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 103s remote-cache, linux-sandbox ... (36 actions running) [13,470 / 13,486] 373 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 104s remote-cache, linux-sandbox ... (32 actions running) [13,473 / 13,486] 373 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 106s remote-cache, linux-sandbox ... (26 actions running) [13,473 / 13,486] 374 / 375 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 21 of 36); 107s remote-cache, linux-sandbox ... (26 actions running) [13,476 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 39); 61s remote-cache, linux-sandbox ... (20 actions running) [13,476 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 39); 62s remote-cache, linux-sandbox ... (20 actions running) [13,482 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 39); 64s remote-cache, linux-sandbox ... (8 actions running) [13,482 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 39); 74s remote-cache, linux-sandbox ... (8 actions running) [13,483 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 39); 55s remote-cache, linux-sandbox ... (6 actions running) [13,483 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 39); 62s remote-cache, linux-sandbox ... (6 actions running) [13,484 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 39); 64s remote-cache, linux-sandbox ... (4 actions running) [13,485 / 13,486] 374 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 39); 66s remote-cache, linux-sandbox [13,485 / 13,486] 375 / 375 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 39); 71s remote-cache, linux-sandbox INFO: Elapsed time: 1595.871s, Critical Path: 313.67s INFO: 13474 processes: 6422 remote cache hit, 1517 internal, 5535 linux-sandbox. INFO: Build completed successfully, 13474 total actions //pkg/ddl:ddl_test FLAKY, failed in 1 out of 51 in 55.5s Stats over 51 runs: max = 55.5s, min = 12.1s, avg = 20.2s, dev = 7.1s /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_50_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_49_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_1_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_2_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_48_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_4_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_3_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_5_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_47_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_6_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_8_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_7_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_9_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_10_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_46_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_12_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_11_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_13_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_45_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_14_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_16_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_44_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_17_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_18_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_43_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_15_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_19_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_20_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_21_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_42_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_24_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_23_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_25_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_26_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_22_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_41_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_27_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_28_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_29_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_30_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_31_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_40_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_32_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_33_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_35_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_39_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_34_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_37_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_38_of_50/coverage.dat /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_36_of_50/coverage.dat Test cases: finished with 8171 passing and 0 failing out of 8171 test cases Executed 198 out of 375 tests: 375 tests pass. root: /home/jenkins/.tidb/tmp/af6bf8ffe4d3d9ebd17e260a32fdae80/execroot/__main__/bazel-out/k8-fastbuild/testlogs complete to collect bazel result.